diff --git a/lvlgg_frontend/src/Components/ExplorePage.js b/lvlgg_frontend/src/Components/ExplorePage.js index 6ff7764..cae4082 100644 --- a/lvlgg_frontend/src/Components/ExplorePage.js +++ b/lvlgg_frontend/src/Components/ExplorePage.js @@ -1,16 +1,14 @@ import React from 'react' import '../App.css' -import {Button} from './Button' import './ExplorePage.css' function ExplorePage() { return (
-
) } -export default ExplorePage \ No newline at end of file +export default ExplorePage diff --git a/lvlgg_frontend/src/Components/Navbar.js b/lvlgg_frontend/src/Components/Navbar.js index d7784e4..5ecfd0d 100644 --- a/lvlgg_frontend/src/Components/Navbar.js +++ b/lvlgg_frontend/src/Components/Navbar.js @@ -6,21 +6,12 @@ import { AuthContext } from '../Contexts/AuthContext'; function Navbar() { const [click, setClick] = useState(false) - const [button, setButton] = useState(true) const [isDropdownOpen, setIsDropdownOpen] = useState(false); const { isSignedIn, setIsSignedIn } = useContext(AuthContext); const handleClick = () => setClick(!click) const closeMobileMenu = () => setClick(false) -const showButton = () => { - if(window.innerWidth <= 960) { - setButton(false) - } else { - setButton(true) - } -}; - const handleDropDown = () => { setIsDropdownOpen(!isDropdownOpen); }; @@ -33,8 +24,6 @@ const handleSignOut = () => { setIsSignedIn(false); }; -window.addEventListener('resize', showButton); - return ( <>