From a88f90f4b645705485896affbc179d02e69b71de Mon Sep 17 00:00:00 2001 From: artemkolodko Date: Mon, 18 Dec 2023 15:56:25 +0000 Subject: [PATCH] Add undelegation info --- src/pages/AddressPage/StakingDelegations.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pages/AddressPage/StakingDelegations.tsx b/src/pages/AddressPage/StakingDelegations.tsx index 938dc30..2a024c7 100644 --- a/src/pages/AddressPage/StakingDelegations.tsx +++ b/src/pages/AddressPage/StakingDelegations.tsx @@ -68,6 +68,14 @@ function StakingDelegations(props: { delegations: StakingDelegation[] }) { Reward {+item.reward > 0 ? : '0 ONE'} + {item.undelegations.length > 0 && + item.undelegations.map((undelegation) => { + return + Undelegation (Epoch {undelegation.epoch}) + {+item.reward > 0 ? : '0 ONE'} + + }) + } }, renderValue: () => {