fix: 🐛
This commit is contained in:
parent
78caabeafc
commit
f54ab84dd1
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue