diff --git a/web/components/nav/profile-menu.tsx b/web/components/nav/profile-menu.tsx index cd258280..42d2a0b1 100644 --- a/web/components/nav/profile-menu.tsx +++ b/web/components/nav/profile-menu.tsx @@ -35,7 +35,9 @@ export function ProfileSummary(props: { user: User | undefined }) {
{user?.name}
- {user ? formatMoney(Math.floor(loadFakeBalance())) : ' '} + {user + ? formatMoney(Math.floor(loadFakeBalance() || user.balance)) + : ' '}