diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 40b2f78..f1452ec 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -7,49 +7,45 @@ import Sidebar from "./Sidebar"; import { useState } from "react"; const Navbar = () => { - const [viewSubSection, setViewSubSection] = useState(false); - function toggleMenu() { - setViewSubSection(!viewSubSection); - } + const [viewSubSection, setViewSubSection] = useState(false); + function toggleMenu() { + setViewSubSection(!viewSubSection); + } - return ( -
-