Skip to content

Commit

Permalink
remove unused elements
Browse files Browse the repository at this point in the history
  • Loading branch information
mamadou-niakate committed Jan 23, 2023
1 parent de9f76b commit 82e8aa8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ import NotFound from "./component/NotFound";
export const UserContext = createContext();

const App = () => {
// const [admin, setAdmin] = useState(false);
// const [selectedService, setSelectedService] = useState({});
// const [user, setUser] = useState(getDecodedUser());
return (
<div>
<Routes>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useContext, useEffect, useState } from 'react';
import React, { useEffect, useState } from 'react';
import { Button } from 'react-bootstrap';
import ReviewForm from './ReviewFrom';
import './Review.css';
Expand Down
2 changes: 0 additions & 2 deletions src/component/Dashoboard/UserDashboard/Book/Checkout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ import {
import swal from 'sweetalert';
import { Form, Col, Row } from 'react-bootstrap';
import { useForm } from 'react-hook-form';
import { useContext } from 'react';
import toast from 'react-hot-toast';
import axios from 'axios';
import { UserContext } from '../../../../App';
import { useAppContext } from '../../../../context';


Expand Down

0 comments on commit 82e8aa8

Please sign in to comment.