fix: 🐛

This commit is contained in:
codytseng
2025-03-13 14:31:07 +08:00
parent 78caabeafc
commit f54ab84dd1

View File

@@ -73,7 +73,7 @@ export default function ReplyNoteList({
const customEvent = data as CustomEvent<NEvent> const customEvent = data as CustomEvent<NEvent>
const evt = customEvent.detail const evt = customEvent.detail
const rootId = getRootEventHexId(evt) const rootId = getRootEventHexId(evt)
if (rootId === rootInfo.id) { if (rootId === rootInfo.id && isReplyNoteEvent(evt)) {
onNewReply(evt) onNewReply(evt)
} }
} }