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

@@ -14,7 +14,7 @@ export const NoteQuote = memo(function NoteQuote({ id }: { id: string }) {
const [event, setEvent] = useState(null);
const unsubscribe = useRef(null);
const content = contentParser(event.content, event.tags);
const content = event ? contentParser(event.content, event.tags) : '';
const fetchEvent = useCallback(async () => {
const { createNote } = await import('@utils/bindings');