Skip to content

Commit

Permalink
fix: change all staking contract details loaded check to use some ins…
Browse files Browse the repository at this point in the history
…tead of every
  • Loading branch information
mohandast52 committed Dec 13, 2024
1 parent d366bfb commit 3a30e36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/context/StakingContractDetailsProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ const useAllStakingContractDetails = () => {
{} as Record<string, Partial<StakingContractDetails>>,
);

const isAllStakingContractDetailsLoaded = queryResults.every(
// TODO: some are failing, not sure why.
const isAllStakingContractDetailsLoaded = queryResults.some(
(query) => query.isSuccess,
);

Expand Down

0 comments on commit 3a30e36

Please sign in to comment.