Skip to content

Commit

Permalink
Fix reselect conditional (#1749)
Browse files Browse the repository at this point in the history
  • Loading branch information
grod220 authored Sep 2, 2024
1 parent 918fab8 commit 4db5832
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const useStakingTokensAndFilter = (
const { data: stakingTokenMetadata } = useStakingTokenMetadata();
const balancesByAccount = useBalancesResponses({
select: balancesByAccountSelector,
shouldReselect: (before, after) => before?.data === after.data,
shouldReselect: (before, after) => before?.data !== after.data,
});

const stakingTokensByAccount = useMemo(() => {
Expand Down

0 comments on commit 4db5832

Please sign in to comment.