From 3a30e36e57703bccec28d2389a7aa0cf0e6e655d Mon Sep 17 00:00:00 2001 From: mohandast52 Date: Fri, 13 Dec 2024 17:02:52 +0530 Subject: [PATCH] fix: change all staking contract details loaded check to use some instead of every --- frontend/context/StakingContractDetailsProvider.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/context/StakingContractDetailsProvider.tsx b/frontend/context/StakingContractDetailsProvider.tsx index e201759ca..4ea567b9c 100644 --- a/frontend/context/StakingContractDetailsProvider.tsx +++ b/frontend/context/StakingContractDetailsProvider.tsx @@ -68,7 +68,8 @@ const useAllStakingContractDetails = () => { {} as Record>, ); - const isAllStakingContractDetailsLoaded = queryResults.every( + // TODO: some are failing, not sure why. + const isAllStakingContractDetailsLoaded = queryResults.some( (query) => query.isSuccess, );