Fix Sandbox staking pending events

This commit is contained in:
Yana
2025-06-18 20:14:41 +03:00
parent 05c6768474
commit 614933f7eb
2 changed files with 2 additions and 2 deletions
@@ -75,7 +75,7 @@ const StakeTableWithAction = () => {
isError: isEpochError,
} = useQuery({
queryKey: ["epochRewards"],
queryFn: fetchEpochRewards,
queryFn: () => fetchEpochRewards(environment),
staleTime: 10 * 60 * 1000, // 10 minutes
refetchOnWindowFocus: false, // Prevents unnecessary refetching
refetchOnReconnect: false,
+1 -1
View File
@@ -43,7 +43,7 @@ export const useNymClient = () => {
const queryClient = new contracts.Mixnet.MixnetQueryClient(
// eslint-disable-next-line @typescript-eslint/no-explicit-any
cosmWasmClient as any,
NYM_MIXNET_CONTRACT
mixnetContractAddress
);
setNymClient(client);