From 0d1012239446aaf06650493d9b1a56db95216b81 Mon Sep 17 00:00:00 2001 From: Kieran Date: Tue, 2 Jan 2024 16:06:43 +0000 Subject: [PATCH] fix: event hook --- packages/app/src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/src/index.tsx b/packages/app/src/index.tsx index 69643bad..e1650340 100644 --- a/packages/app/src/index.tsx +++ b/packages/app/src/index.tsx @@ -135,7 +135,7 @@ export const fuzzySearch = new Fuse([], { const profileTimestamps = new Map(); // how to also add entries from ProfileCache? -System.on("event", ev => { +System.on("event", (_, ev) => { if (ev.kind === 0) { const existing = profileTimestamps.get(ev.pubkey); if (existing) {