updated root note

This commit is contained in:
Ren Amamiya
2023-04-17 08:00:18 +07:00
parent a573f9e4eb
commit c9c8b57e5a
4 changed files with 92 additions and 22 deletions

View File

@@ -9,6 +9,8 @@ export const NoteQuoteRepost = memo(function NoteQuoteRepost({ event }: { event:
if (event.content.length > 0) {
note = <RootNote event={JSON.parse(event.content)} />;
} else {
note = <RootNote event={event.tags[0][1]} />;
}
return note;