feat: 💨
This commit is contained in:
parent
9bba055e92
commit
9c554da2da
1 changed files with 1 additions and 3 deletions
|
|
@ -28,9 +28,7 @@ export default function ProfileOptions({ pubkey }: { pubkey: string }) {
|
||||||
</Button>
|
</Button>
|
||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
<DropdownMenuContent>
|
<DropdownMenuContent>
|
||||||
<DropdownMenuItem
|
<DropdownMenuItem onClick={() => navigator.clipboard.writeText(pubkeyToNpub(pubkey) ?? '')}>
|
||||||
onClick={() => navigator.clipboard.writeText('nostr:' + pubkeyToNpub(pubkey))}
|
|
||||||
>
|
|
||||||
<Copy />
|
<Copy />
|
||||||
{t('Copy user ID')}
|
{t('Copy user ID')}
|
||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue