Browse Source

fix: 🐛

imwald
codytseng 1 year ago
parent
commit
f54ab84dd1
  1. 2
      src/components/ReplyNoteList/index.tsx

2
src/components/ReplyNoteList/index.tsx

@ -73,7 +73,7 @@ export default function ReplyNoteList({ @@ -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)
}
}

Loading…
Cancel
Save