Skip to content

Commit

Permalink
hacky solution to initial missing username
Browse files Browse the repository at this point in the history
  • Loading branch information
yk committed Jan 17, 2023
1 parent 0a36e45 commit 3647909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/components/Header/UserMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function UserMenu() {
<Box display="flex" alignItems="center" gap="3" p="1" paddingRight={[1, 1, 1, 6, 6]}>
<Avatar size="sm" bgImage={session.user.image}></Avatar>
<Text data-cy="username" className="hidden lg:flex">
{session.user.name || session.user.email}
{session.user.name || "New User"}
</Text>
</Box>
</MenuButton>
Expand Down

0 comments on commit 3647909

Please sign in to comment.