diff --git a/components/layout/top-bar.tsx b/components/layout/top-bar.tsx index f2a7197..6c66cbf 100644 --- a/components/layout/top-bar.tsx +++ b/components/layout/top-bar.tsx @@ -26,6 +26,7 @@ interface User { name: string; email: string; avatar: string; + username: string; } export function TopBar({ @@ -274,7 +275,7 @@ export function TopBar({
- {currentUser.name} + {currentUser.name || currentUser.username}
{currentUser.email}