feat: use jumble.social share links for notes (#737)
Co-authored-by: The Daniel <dmnyc@users.noreply.github.com>
This commit is contained in:
parent
e490407dd5
commit
686b1f9998
2 changed files with 5 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { formatError } from '@/lib/error'
|
||||
import { getNoteBech32Id, isProtectedEvent } from '@/lib/event'
|
||||
import { toNjump } from '@/lib/link'
|
||||
import { toJumbleNote } from '@/lib/link'
|
||||
import { pubkeyToNpub } from '@/lib/pubkey'
|
||||
import { simplifyUrl } from '@/lib/url'
|
||||
import { useCurrentRelays } from '@/providers/CurrentRelaysProvider'
|
||||
|
|
@ -183,7 +183,7 @@ export function useMenuActions({
|
|||
icon: Link,
|
||||
label: t('Copy share link'),
|
||||
onClick: () => {
|
||||
navigator.clipboard.writeText(toNjump(getNoteBech32Id(event)))
|
||||
navigator.clipboard.writeText(toJumbleNote(event))
|
||||
closeDrawer()
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue