File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
packages/angular-persist-query-client-experimental/src Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ type PersistQueryClientOptions = {
56
56
export function withPersistQueryClient (
57
57
persistQueryClientOptions : Array < PersistQueryClientOptions > ,
58
58
) : PersistQueryClientFeature {
59
- const isRestoring = signal ( false )
59
+ const isRestoring = signal ( true )
60
60
const providers = [
61
61
provideIsRestoring ( isRestoring . asReadonly ( ) ) ,
62
62
{
@@ -67,7 +67,6 @@ export function withPersistQueryClient(
67
67
const destroyRef = inject ( DestroyRef )
68
68
const queryClient = injectQueryClient ( )
69
69
70
- isRestoring . set ( true )
71
70
const restorations = persistQueryClientOptions . map (
72
71
( { onSuccess, persistOptions } ) => {
73
72
const options = { queryClient, ...persistOptions }
You can’t perform that action at this time.
0 commit comments