Skip to content

Commit 39a35d8

Browse files
authoredNov 2, 2024··
chore(react-query-persist-client): remove redundant setIsRestoring(true) to fix lint warning (#8213)
1 parent c61ff1e commit 39a35d8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

Diff for: ‎packages/react-query-persist-client/src/PersistQueryClientProvider.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export const PersistQueryClientProvider = ({
3636
}
3737
if (!didRestore.current) {
3838
didRestore.current = true
39-
setIsRestoring(true)
4039
persistQueryClientRestore(options).then(async () => {
4140
try {
4241
await refs.current.onSuccess?.()

0 commit comments

Comments
 (0)
Please sign in to comment.