diff --git a/src/components/ProfileOptions/index.tsx b/src/components/ProfileOptions/index.tsx index 9004d4d2..205576ce 100644 --- a/src/components/ProfileOptions/index.tsx +++ b/src/components/ProfileOptions/index.tsx @@ -28,9 +28,7 @@ export default function ProfileOptions({ pubkey }: { pubkey: string }) { - navigator.clipboard.writeText('nostr:' + pubkeyToNpub(pubkey))} - > + navigator.clipboard.writeText(pubkeyToNpub(pubkey) ?? '')}> {t('Copy user ID')}