diff --git a/src/components/userComponents/navBar/navBar.tsx b/src/components/userComponents/navBar/navBar.tsx index c4b5b29c..d9864e07 100644 --- a/src/components/userComponents/navBar/navBar.tsx +++ b/src/components/userComponents/navBar/navBar.tsx @@ -1,11 +1,6 @@ -<<<<<<< HEAD import Link from 'next/link'; import React, { useState, useEffect } from 'react'; -======= -import React, { useState, useEffect } from 'react'; -import Link from 'next/link'; ->>>>>>> e2ff808 (merge resolved) import { HamburgerMenu, CloseMenu } from '../../../../public/icons'; /** @@ -13,10 +8,7 @@ import { HamburgerMenu, CloseMenu } from '../../../../public/icons'; */ export default function NavBar() { const [showMenu, setShowMenu] = useState(false); -<<<<<<< HEAD const [isWide, setIsWide] = useState(false); -======= ->>>>>>> e2ff808 (merge resolved) useEffect(() => { if (showMenu) { @@ -26,7 +18,6 @@ export default function NavBar() { } }, [showMenu]); -<<<<<<< HEAD useEffect(() => { if (window) { setIsWide(window.innerWidth >= 1024); @@ -39,8 +30,6 @@ export default function NavBar() { }; }, []); -======= ->>>>>>> e2ff808 (merge resolved) /** * Toggles the side menu */ @@ -48,20 +37,13 @@ export default function NavBar() { setShowMenu(!showMenu); } -<<<<<<< HEAD return isWide ? (