Skip to content

Commit c4651b1

Browse files
feat(persistQueryClient): enable unsubscribe
1 parent a6a95db commit c4651b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/persistQueryClient/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,6 @@ export async function persistQueryClient(props: PersistQueryClientOptions) {
137137
persistQueryClientRestore(props)
138138

139139
// Subscribe to changes in the query cache to trigger the save
140-
persistQueryClientSubscribe(props)
140+
return persistQueryClientSubscribe(props)
141141
}
142142
}

0 commit comments

Comments
 (0)