From 44b5c60607f7418fb7e07b953b7c098760232b2d Mon Sep 17 00:00:00 2001 From: Pierre Bertet Date: Tue, 21 Jan 2025 17:33:27 +0000 Subject: [PATCH] Claim rewards tx flow: pass current rewards --- frontend/app/src/screens/StakeScreen/PanelRewards.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/app/src/screens/StakeScreen/PanelRewards.tsx b/frontend/app/src/screens/StakeScreen/PanelRewards.tsx index 7944dcd72..5007085d4 100644 --- a/frontend/app/src/screens/StakeScreen/PanelRewards.tsx +++ b/frontend/app/src/screens/StakeScreen/PanelRewards.tsx @@ -130,13 +130,7 @@ export function PanelRewards() { successLink: ["/", "Go to the Dashboard"], successMessage: "The rewards have been claimed successfully.", - stakePosition: { - ...stakePosition.data, - rewards: { - eth: dn.from(0, 18), - lusd: dn.from(0, 18), - }, - }, + stakePosition: stakePosition.data, prevStakePosition: stakePosition.data, }); }