diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index 2a9c178..83134e1 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -1,46 +1,38 @@ -import React, { useState } from "react"; + import React from "react"; import { NavLink, useLocation } from "react-router-dom"; const Navbar = () => { const location = useLocation(); - const [isOpen, setIsOpen] = useState(false); - - const toggleMenu = () => { - setIsOpen(!isOpen); - }; - - const closeMenu = () => { - setIsOpen(false); - }; const isActive = (path) => location.pathname === path ? 'text-[#00bfff] underline' : 'text-white'; return ( + ); }; - export default Navbar;