fix(event): quote repost add nostr:

This commit is contained in:
en 2025-02-14 17:51:53 +01:00
parent 6b6d8c004b
commit 9b74713e0b

View File

@ -12,7 +12,7 @@ export const NoteQuoteRepostPopup = ({
ndkEvent,
handleClose
}: PropsWithChildren<NoteQuoteRepostPopup>) => {
const content = ndkEvent.encode()
const content = `nostr:${ndkEvent.encode()}`
return createPortal(
<div className='popUpMain'>
@ -46,7 +46,7 @@ export const NoteQuoteRepostPopup = ({
Quote repost this?
</label>
<NoteSubmit
initialContent={`\n\n${content}`}
initialContent={`\n\n:${content}`}
handleClose={handleClose}
/>
</div>