chore: quick fix

This commit is contained in:
daniyal 2024-10-24 21:08:40 +05:00
parent d96e5088b8
commit d3c2d5fe7a

View File

@ -62,8 +62,6 @@ export const useComments = (mod: ModDetails) => {
) )
subscription.on('event', (ndkEvent) => { subscription.on('event', (ndkEvent) => {
console.log('ndkEvent :>> ', ndkEvent)
setCommentEvents((prev) => { setCommentEvents((prev) => {
if (prev.find((e) => e.id === ndkEvent.id)) { if (prev.find((e) => e.id === ndkEvent.id)) {
return [...prev] return [...prev]