From 792931d77ccaa057e1d19750dd9d5fe56c1bc47e Mon Sep 17 00:00:00 2001 From: Yana Date: Wed, 19 Feb 2025 20:37:29 +0200 Subject: [PATCH] fix negative remaining epoch time on focus --- explorer-nextjs/src/providers/EpochProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explorer-nextjs/src/providers/EpochProvider.tsx b/explorer-nextjs/src/providers/EpochProvider.tsx index b69cce8457..1ca1d14c70 100644 --- a/explorer-nextjs/src/providers/EpochProvider.tsx +++ b/explorer-nextjs/src/providers/EpochProvider.tsx @@ -50,7 +50,7 @@ const EpochProvider = ({ children }: { children: React.ReactNode }) => { const QueryClient = useQueryClient(); const { data, isError, isLoading } = useQuery({ - refetchOnWindowFocus: false, + refetchOnWindowFocus: true, queryKey: ["currentEpoch"], queryFn: fetchCurrentEpoch, refetchInterval: ({ state }) => {