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 2b7293d commit 9b155e2Copy full SHA for 9b155e2
apps/namadillo/src/App/AccountOverview/StakeSidebar.tsx
@@ -17,10 +17,7 @@ export const StakeSidebar = (): JSX.Element => {
17
const location = useLocation();
18
const navigate = useNavigate();
19
const availableRewards = sumBigNumberArray(Object.values(rewards || {}));
20
- const displayRewardsBox =
21
- successfullyLoadedRewards &&
22
- Object.values(rewards || {}).length > 0 &&
23
- chainParams.isSuccess;
+ const displayRewardsBox = successfullyLoadedRewards && chainParams.isSuccess;
24
25
return (
26
<Panel className="flex flex-col gap-4 text-cyan px-3">
0 commit comments