fix(event): quote repost add nostr:
This commit is contained in:
parent
6b6d8c004b
commit
9b74713e0b
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user