comment fetching in mod posts fix #102

Merged
freakoverse merged 4 commits from staging into master 2024-10-25 10:16:43 +00:00
Showing only changes of commit d3c2d5fe7a - Show all commits

View File

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