style: fix dep ordering and restore redis null guard

This commit is contained in:
Thomas Camlong committed 2026-06-25 13:02:39 +02:00
1 parent e7037ddfe9
commit 92920db07d
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -60,10 +60,10 @@
"@scalar/api-reference-react": "catalog:",
"@tabler/icons-react": "catalog:",
"@tanstack/query-async-storage-persister": "catalog:",
"@tanstack/react-query-persist-client": "catalog:",
"@tanstack/react-query": "catalog:",
"@tanstack/react-query-devtools": "catalog:",
"@tanstack/react-query-next-experimental": "catalog:",
"@tanstack/react-query-persist-client": "catalog:",
"@trpc/client": "catalog:",
"@trpc/next": "catalog:",
"@trpc/react-query": "catalog:",
+3 -1
View File
@@ -157,7 +157,9 @@ export const removeQueryCacheAsync = async (userId: string, boardId: string) =>
};
export const invalidateIntegrationCacheAsync = async (integrationId: string): Promise<void> => {
await getSetClient.del(`session-store:${integrationId}`);
const client = getSetClient as typeof getSetClient | null;
if (!client) return;
await client.del(`session-store:${integrationId}`);
};
/**