We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8619239 commit c115bceCopy full SHA for c115bce
apps/namadillo/src/App/Staking/ClaimRewardsSubmitModalStage.tsx
@@ -36,7 +36,7 @@ export const ClaimRewardsSubmitModalStage = ({
36
}: ClaimRewardsPanelProps): JSX.Element => {
37
const validators = useAtomValue(allValidatorsAtom);
38
const availableRewards = sumBigNumberArray(
39
- rewardsToClaim.map((r) => rewards[r.validator])
+ rewardsToClaim.map((r) => rewards[r.validator]).filter(Boolean)
40
);
41
const allRewards = rewardsToClaim.length === Object.keys(rewards).length;
42
const image = isClaimAndStake ? claimAndStakeImage : claimImage;
0 commit comments