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