Skip to content

Commit

Permalink
fix: staking rewards missing from Staking tab
Browse files Browse the repository at this point in the history
  • Loading branch information
danielattilasimon committed Jan 21, 2025
1 parent f63ae6e commit c9d6a35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/app/src/screens/StakeScreen/PanelStaking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export function PanelStaking() {
&& !insufficientBalance,
);

const rewardsLusd = dn.from(0, 18);
const rewardsEth = dn.from(0, 18);
const rewardsLusd = stakePosition.data?.rewards.lusd ?? dn.from(0, 18);
const rewardsEth = stakePosition.data?.rewards.eth ?? dn.from(0, 18);

return (
<>
Expand Down

0 comments on commit c9d6a35

Please sign in to comment.