nostr addrs

This commit is contained in:
Martti Malmi 2023-05-01 12:34:03 +03:00
parent cd9bc27b4b
commit 5ba11221a2
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ const EventDropdown = (props: EventDropdownProps) => {
<Copy
key={`${id!}copy_id`}
text={t('copy_note_ID')}
copyStr={Key.toNostrBech32Address(id, 'note')}
copyStr={`nostr:${Key.toNostrBech32Address(id, 'note')}`}
/>
<a href="#" onClick={onMute}>
{muted ? t('unmute_notifications') : t('mute_notifications')}

View File

@ -173,7 +173,7 @@ class Profile extends View {
key=${`${this.state.hexPub}copyNpub`}
text=${t('copy_user_ID')}
title=${this.state.name}
copyStr=${this.state.npub}
copyStr=${`nostr:${this.state.npub}`}
/>
<${Button} onClick=${() => this.setState({ showQR: !this.state.showQR })}
>${t('show_qr_code')}<//