From e12314ed8c7e2b069c62059d35bf56e469ba8920 Mon Sep 17 00:00:00 2001 From: Ashish Date: Thu, 22 Feb 2024 01:42:24 +0530 Subject: [PATCH] fix: expired token --- src/utils/query-client.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils/query-client.ts b/src/utils/query-client.ts index c02b872..93f9c31 100644 --- a/src/utils/query-client.ts +++ b/src/utils/query-client.ts @@ -45,5 +45,8 @@ export const queryClient = new QueryClient({ refetchOnWindowFocus: false, refetchInterval: isAutoRefresh ? 1000 * 30 : undefined, }, + mutations: { + retry: 2, + }, }, });