fix: 🐛

This commit is contained in:
codytseng 2025-08-09 13:05:59 +08:00
parent f2c87b8d5f
commit f94df67ad8
3 changed files with 15 additions and 6 deletions

View file

@ -18,7 +18,7 @@ export default function ReplyButton({ event }: { event: Event }) {
return repliesMap.get(event.id)?.events.filter((evt) => isUserTrusted(evt.pubkey)).length ?? 0
}
return repliesMap.get(event.id)?.events.length ?? 0
}, [repliesMap, event.id, isUserTrusted])
}, [repliesMap, event.id, hideUntrustedInteractions])
const [open, setOpen] = useState(false)
return (