fix negative remaining epoch time on focus

This commit is contained in:
Yana
2025-02-19 20:37:29 +02:00
parent 9b64fc7755
commit 792931d77c
@@ -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 }) => {