diff --git a/client/src/components/Navbar/navbar.jsx b/client/src/components/Navbar/navbar.jsx index 28ec0ff..8e895de 100644 --- a/client/src/components/Navbar/navbar.jsx +++ b/client/src/components/Navbar/navbar.jsx @@ -7,9 +7,9 @@ import logo2 from "../../assets/shoelogo.jpg"; import axios from "axios"; import {useDispatch, useSelector} from "react-redux"; import { logOut, setUsername } from "../../redux/auth-slice"; +import Translate from "../Translator/Translator"; const Navbar = () => { - const [user, setUser] = useState(); const dispatch = useDispatch(); const logged = useSelector((state)=>state.auth.value.isAuth); @@ -135,14 +135,14 @@ const Navbar = () => { Login -