Skip to content

Commit 9b155e2

Browse files
authored
fix: show Staking sidebar button even if there is 0 to claim (#2024)
1 parent 2b7293d commit 9b155e2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

apps/namadillo/src/App/AccountOverview/StakeSidebar.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ export const StakeSidebar = (): JSX.Element => {
1717
const location = useLocation();
1818
const navigate = useNavigate();
1919
const availableRewards = sumBigNumberArray(Object.values(rewards || {}));
20-
const displayRewardsBox =
21-
successfullyLoadedRewards &&
22-
Object.values(rewards || {}).length > 0 &&
23-
chainParams.isSuccess;
20+
const displayRewardsBox = successfullyLoadedRewards && chainParams.isSuccess;
2421

2522
return (
2623
<Panel className="flex flex-col gap-4 text-cyan px-3">

0 commit comments

Comments
 (0)