diff --git a/frontend/src/components/AuthStatus.tsx b/frontend/src/components/AuthStatus.tsx index 6335712..bdf6527 100644 --- a/frontend/src/components/AuthStatus.tsx +++ b/frontend/src/components/AuthStatus.tsx @@ -48,35 +48,24 @@ export default function AuthStatus() { : { isAuthenticated: auth.isAuthenticated, user: auth.user }; return ( -
- {displayState.isAuthenticated ? ( - <> -
- - {displayState.user?.profile.name || "Authenticated"} - - - - ) : ( - <> - - - )} -
+ displayState.isAuthenticated && ( +
+
+ + {displayState.user?.profile.name || "Authenticated"} + + +
+ ) ); }