Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
221df8ae94 | ||
|
|
1fe07f8d79 | ||
|
|
24188ce51f | ||
|
|
e31f60fdec | ||
|
|
6bb547f3c5 | ||
|
|
b07cc14d0e |
No files matched your search
@@ -123,9 +123,9 @@ async function QueryCacheHydration({ userId, boardId }: { userId: string; boardI
|
||||
const serialized = await getQueryCacheAsync(userId, boardId);
|
||||
if (!serialized) return null;
|
||||
|
||||
const persisted = superjson.parse<PersistedClient>(serialized);
|
||||
if (persisted.buster !== queryCacheBuster) return null;
|
||||
if (!persisted?.clientState?.queries?.length) return null;
|
||||
const persisted = superjson.parse<PersistedClient | undefined>(serialized);
|
||||
if (!persisted || persisted.buster !== queryCacheBuster) return null;
|
||||
if (!persisted.clientState?.queries?.length) return null;
|
||||
|
||||
return <HydrationBoundary state={persisted.clientState} />;
|
||||
} catch (error) {
|
||||
|
||||
Generated
+8
-8
@@ -307,11 +307,11 @@ catalogs:
|
||||
specifier: ^10.0.3
|
||||
version: 10.0.3
|
||||
conventional-changelog-conventionalcommits:
|
||||
specifier: ^10.0.0
|
||||
specifier: ^10.2.0
|
||||
version: 10.2.0
|
||||
cookie:
|
||||
specifier: 2.0.0
|
||||
version: 2.0.0
|
||||
specifier: 2.0.1
|
||||
version: 2.0.1
|
||||
cookies:
|
||||
specifier: ^0.9.1
|
||||
version: 0.9.1
|
||||
@@ -445,7 +445,7 @@ catalogs:
|
||||
specifier: ^1.396.3
|
||||
version: 1.396.5
|
||||
posthog-node:
|
||||
specifier: ^5.39.1
|
||||
specifier: ^5.39.2
|
||||
version: 5.39.4
|
||||
prismjs:
|
||||
specifier: ^1.30.0
|
||||
@@ -1482,7 +1482,7 @@ importers:
|
||||
version: 3.3.0
|
||||
cookie:
|
||||
specifier: 'catalog:'
|
||||
version: 2.0.0
|
||||
version: 2.0.1
|
||||
dayjs:
|
||||
specifier: 'catalog:'
|
||||
version: 1.11.21
|
||||
@@ -9133,8 +9133,8 @@ packages:
|
||||
resolution: {integrity: sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==}
|
||||
engines: {node: '>=18'}
|
||||
|
||||
cookie@2.0.0:
|
||||
resolution: {integrity: sha512-hRSFuKJ6SYHrFVNltQdagQFMk7e0Q/VrORTGqZGyUAmmhA3EwPeldHCTg0HqUaDodQOfQDe7qXuOtpf4lwCsaA==}
|
||||
cookie@2.0.1:
|
||||
resolution: {integrity: sha512-yuToqVvRrj6pfDXREyQAAv8SkAEk/8GS3jQRTiUMm66TVtBYmqQeoEjL2Lmq8Rpo6271vH76InTChTitEAm65w==}
|
||||
engines: {node: '>=22'}
|
||||
|
||||
cookies@0.9.1:
|
||||
@@ -22931,7 +22931,7 @@ snapshots:
|
||||
|
||||
cookie@1.1.1: {}
|
||||
|
||||
cookie@2.0.0: {}
|
||||
cookie@2.0.1: {}
|
||||
|
||||
cookies@0.9.1:
|
||||
dependencies:
|
||||
|
||||
+3
-3
@@ -94,7 +94,7 @@ catalog:
|
||||
"@types/ws": ^8.18.1
|
||||
"@types/xml2js": ^0.4.14
|
||||
posthog-js: ^1.396.3
|
||||
posthog-node: ^5.39.1
|
||||
posthog-node: ^5.39.2
|
||||
"@vitejs/plugin-react": ^6.0.3
|
||||
"@vitest/coverage-v8": ^4.1.9
|
||||
"@vitest/ui": ^4.1.9
|
||||
@@ -110,8 +110,8 @@ catalog:
|
||||
chroma-js: ^3.2.0
|
||||
clsx: ^2.1.1
|
||||
concurrently: ^10.0.3
|
||||
conventional-changelog-conventionalcommits: ^10.0.0
|
||||
cookie: 2.0.0
|
||||
conventional-changelog-conventionalcommits: ^10.2.0
|
||||
cookie: 2.0.1
|
||||
cookies: ^0.9.1
|
||||
croner: 10.0.1
|
||||
cross-env: ^10.1.0
|
||||
|
||||
Reference in new issue
Block a user