Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hzrd149 committed Nov 29, 2024
1 parent 5b72221 commit bff5286
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/views/user/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,14 @@ export default function Header({

const showExtraButtons = useBreakpointValue({ base: false, sm: true });

const showFullNip05 = useBreakpointValue({ base: false, md: true });

return (
<Flex direction="column" gap="2" px="2" pt="2">
<Flex gap="2" alignItems="center">
<UserAvatar pubkey={pubkey} size="sm" noProxy mr="2" />
<Heading size="md" isTruncated>
<UserName pubkey={pubkey} />
</Heading>
<UserDnsIdentity pubkey={pubkey} onlyIcon={showFullNip05} />
<UserDnsIdentity pubkey={pubkey} onlyIcon />
<Spacer />
{isSelf && !account.readonly && (
<IconButton
Expand Down

0 comments on commit bff5286

Please sign in to comment.