fix: address coderabbit review on #6219

This commit is contained in:
ajnart committed 2026-07-06 18:12:41 +02:00
1 parent 1fe07f8d79
commit 221df8ae94
1 file changed
+1 -1
@@ -123,7 +123,7 @@ async function QueryCacheHydration({ userId, boardId }: { userId: string; boardI
const serialized = await getQueryCacheAsync(userId, boardId);
if (!serialized) return null;
const persisted = superjson.parse<PersistedClient>(serialized);
const persisted = superjson.parse<PersistedClient | undefined>(serialized);
if (!persisted || persisted.buster !== queryCacheBuster) return null;
if (!persisted.clientState?.queries?.length) return null;