refactor publish event

This commit is contained in:
2023-11-14 15:15:13 +07:00
parent fee4ad7b98
commit dc5b4f8ac1
22 changed files with 143 additions and 191 deletions

View File

@@ -47,7 +47,7 @@ export function TextNote({ event }: { event: NDKEvent }) {
{parsedContent}
</div>
</div>
<NoteActions id={event.id} pubkey={event.pubkey} />
<NoteActions event={event} rootEventId={thread?.rootEventId} />
</div>
</div>
);