Skip to content

Commit

Permalink
Add discord ID to user dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
synzen committed Jan 4, 2025
1 parent 43d09c1 commit 25ad0a3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const NewHeader = ({ invertBackground }: Props) => {
</HStack>
<Flex alignItems="center" paddingY="4">
<Menu placement="bottom-end">
<MenuButton as={Button} size="sm" variant="link" aria-label="Account settings">
<MenuButton as={Button} size="sm" variant="link" aria-label="Account settings">
<Avatar
src={discordUserMe?.iconUrl}
size="sm"
Expand All @@ -121,6 +121,9 @@ export const NewHeader = ({ invertBackground }: Props) => {
<Text overflow="hidden" maxWidth={300} textOverflow="ellipsis" whiteSpace="nowrap">
{discordUserMe?.username}
</Text>
<Text fontSize="sm" color="whiteAlpha.600">
Discord ID: {discordUserMe?.id}
</Text>
</Box>
<MenuDivider />
<MenuItem icon={<SettingsIcon />} onClick={() => navigate(pages.userSettings())}>
Expand Down

0 comments on commit 25ad0a3

Please sign in to comment.