diff --git a/frontend/src/components/PublicNav.jsx b/frontend/src/components/PublicNav.jsx index 5781f13..44036d3 100644 --- a/frontend/src/components/PublicNav.jsx +++ b/frontend/src/components/PublicNav.jsx @@ -8,8 +8,7 @@ export default function PublicNav({ showScrollProgress = false }) { const navigate = useNavigate(); const location = useLocation(); const showChatBubble = location.pathname.startsWith("/items") || location.pathname.startsWith("/profile"); - // TEMPORARY: Bypass auth for frontend-only development - const isLoggedIn = true; // !!localStorage.getItem("kyurToken"); + const isLoggedIn = !!localStorage.getItem("kyurToken"); const handleLogout = () => { localStorage.removeItem("kyurToken"); navigate("/login"); @@ -47,9 +46,14 @@ export default function PublicNav({ showScrollProgress = false }) { ) : ( - - Report Lost Item - +
+ + Report Lost Item + + + Log In + +
)} {showScrollProgress && }