Skip to content

Commit aa94a94

Browse files
authored
docs(react): Fix SSR custom framework guide - should be deconstructed (#4998)
1 parent 4bdddf4 commit aa94a94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/react/guides/ssr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ import {
303303
QueryClientProvider,
304304
} from '@tanstack/react-query'
305305

306-
const dehydratedState = window.__REACT_QUERY_STATE__
306+
const { dehydratedState } = window.__REACT_QUERY_STATE__
307307

308308
const queryClient = new QueryClient()
309309

0 commit comments

Comments
 (0)