diff --git a/packages/react-query-persist-client/src/PersistQueryClientProvider.tsx b/packages/react-query-persist-client/src/PersistQueryClientProvider.tsx index 9664d4e21b..b7b93bc536 100644 --- a/packages/react-query-persist-client/src/PersistQueryClientProvider.tsx +++ b/packages/react-query-persist-client/src/PersistQueryClientProvider.tsx @@ -36,7 +36,6 @@ export const PersistQueryClientProvider = ({ } if (!didRestore.current) { didRestore.current = true - setIsRestoring(true) persistQueryClientRestore(options).then(async () => { try { await refs.current.onSuccess?.()