chore: quick fix
This commit is contained in:
parent
d96e5088b8
commit
d3c2d5fe7a
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user