diff --git a/frontend/src/components/MainNavbar.tsx b/frontend/src/components/MainNavbar.tsx index 895a13f..639c299 100644 --- a/frontend/src/components/MainNavbar.tsx +++ b/frontend/src/components/MainNavbar.tsx @@ -6,7 +6,6 @@ const Navbar = () => { const navigate = useNavigate(); const location = useLocation(); useEffect(() => { - console.log("here"); if (location.pathname === '/') navigate("/homepage"); }, [location]); return ( @@ -20,9 +19,20 @@ const Navbar = () => { Home - - Login - + post