feat: 💨

This commit is contained in:
codytseng
2025-10-12 15:16:45 +08:00
parent 9bba055e92
commit 9c554da2da

View File

@@ -28,9 +28,7 @@ export default function ProfileOptions({ pubkey }: { pubkey: string }) {
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent>
<DropdownMenuItem
onClick={() => navigator.clipboard.writeText('nostr:' + pubkeyToNpub(pubkey))}
>
<DropdownMenuItem onClick={() => navigator.clipboard.writeText(pubkeyToNpub(pubkey) ?? '')}>
<Copy />
{t('Copy user ID')}
</DropdownMenuItem>