Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(desktop): r7-l1 type the denied child cache updater
Josué502b37be70fc
diff --git a/desktop-app/ui/src/gfs/deniedChildren.ts b/desktop-app/ui/src/gfs/deniedChildren.tsindex 33ff3e80c..7dc47b957 100644--- a/desktop-app/ui/src/gfs/deniedChildren.ts+++ b/desktop-app/ui/src/gfs/deniedChildren.ts@@ -16,7 +16,7 @@ export function purgeDeniedGfsChildren(// A failed TanStack refetch retains its last successful data by design. For// a definitive denial, replace only cached child rows; later invalidation can// still refetch the same key if access is granted again.- queryClient.setQueryData<unknown>(queryKey, current => {+ queryClient.setQueryData<unknown>(queryKey, (current: unknown) => {if (!current || typeof current !== 'object' || !('pages' in current)) return currentconst pages = (current as { pages?: unknown }).pagesif (!Array.isArray(pages)) return current