From 39a35d88cc6ece8bd8b3bc3d45f408272fc19fd7 Mon Sep 17 00:00:00 2001 From: Sol Lee <82362278+saul-atomrigs@users.noreply.github.com> Date: Sat, 2 Nov 2024 18:56:40 +0900 Subject: [PATCH] chore(react-query-persist-client): remove redundant `setIsRestoring(true)` to fix lint warning (#8213) --- .../src/PersistQueryClientProvider.tsx | 1 - 1 file changed, 1 deletion(-) 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?.()