This commit is contained in:
@s.roertgen 2025-04-30 12:37:17 +02:00
parent 906047e98c
commit ac0ab55583

View file

@ -39,7 +39,7 @@
const sub = $ndk.subscribe({ kinds: [2222], '#E': [data.id] }); const sub = $ndk.subscribe({ kinds: [2222], '#E': [data.id] });
sub.on('event', (event) => { sub.on('event', (event) => {
console.log(event); console.log(event);
$comments = [...$comments, event]; $comments = Array.from(new Set([...$comments, event]));
console.log(`${event.content}`); console.log(`${event.content}`);
}); });