From 63364baab5ce9d79ea9686474ec3cae4de1d7787 Mon Sep 17 00:00:00 2001 From: Chris Scott <99081550+chriswritescode-dev@users.noreply.github.com> Date: Tue, 20 Oct 2026 18:40:03 -0400 Subject: [PATCH] fix(events): restore frontend build after stale pending-action fixes --- frontend/src/contexts/EventContext.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/contexts/EventContext.tsx b/frontend/src/contexts/EventContext.tsx index a96aee7bb..f30540d07 100644 --- a/frontend/src/contexts/EventContext.tsx +++ b/frontend/src/contexts/EventContext.tsx @@ -172,7 +172,7 @@ function withoutSessionKey(bySession: Record, sessionID: string) */ function withoutMatchingItems( bySession: Record, - shouldRemove: (item: T) => boolean, + shouldRemove: (item: NoInfer) => boolean, ): Record { let changed = false const next: Record = {} @@ -744,7 +744,7 @@ export function EventProvider({ children }: { children: React.ReactNode }) { const unresolvedSessionIDs = new Set() for (const bySession of [permissionsBySessionRef.current, formsBySessionRef.current]) { for (const [sessionID, items] of Object.entries(bySession)) { - if (!items.some((item) => item.serverId === serverId)) continue + if (!items.some((item: { serverId: string }) => item.serverId === serverId)) continue if (findSessionDirectoryKey(sessionID) !== null) continue unresolvedSessionIDs.add(sessionID) }