diff --git a/autogpt_platform/frontend/src/components/NavBar.tsx b/autogpt_platform/frontend/src/components/NavBar.tsx index 990a4e3c76c1..f8c54e2b6979 100644 --- a/autogpt_platform/frontend/src/components/NavBar.tsx +++ b/autogpt_platform/frontend/src/components/NavBar.tsx @@ -16,57 +16,69 @@ export async function NavBar() { ); const { user } = await getServerUser(); - return ( - user && ( - - - - - - - Toggle navigation menu - - - - - - - - - - - - - - - - - - - {isAvailable && user && } - - {isAvailable && !user && ( - + + + + - Log In - - - )} - {isAvailable && user && } - - - ) + + Toggle navigation menu + + + + + + + + + + + + + + + + + + + {isAvailable && user && } + + {isAvailable && !user && ( + + Log In + + + )} + {isAvailable && user && } + + + ) : ( + + + + + + + ); }