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 evt = customEvent.detail
const rootId = getRootEventHexId(evt)
if (rootId === rootInfo.id) {
if (rootId === rootInfo.id && isReplyNoteEvent(evt)) {
onNewReply(evt)
}
}