Skip to content

Commit

Permalink
chore(react-query-persist-client): remove redundant `setIsRestoring(t…
Browse files Browse the repository at this point in the history
…rue)` to fix lint warning (#8213)
  • Loading branch information
saul-atomrigs authored Nov 2, 2024
1 parent c61ff1e commit 39a35d8
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export const PersistQueryClientProvider = ({
}
if (!didRestore.current) {
didRestore.current = true
setIsRestoring(true)
persistQueryClientRestore(options).then(async () => {
try {
await refs.current.onSuccess?.()
Expand Down

0 comments on commit 39a35d8

Please sign in to comment.