We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3bd3fa commit df7686cCopy full SHA for df7686c
src/persistQueryClient/index.ts
@@ -134,7 +134,7 @@ export function persistQueryClientSubscribe(
134
export async function persistQueryClient(props: PersistQueryClientOptions) {
135
if (typeof window !== 'undefined') {
136
// Attempt restore
137
- persistQueryClientRestore(props)
+ await persistQueryClientRestore(props)
138
139
// Subscribe to changes in the query cache to trigger the save
140
return persistQueryClientSubscribe(props)
0 commit comments