From 299fd54fe2275c3eaf282e126313f31a0366c23f Mon Sep 17 00:00:00 2001 From: Derek Croote Date: Mon, 23 Dec 2024 12:37:14 -0800 Subject: [PATCH] fix: rename wrongly named unstake to unstaking This PR also removes reporting of shares being unstaked as this isn't meaningful. For clarity, the number of tokens being unstaked is retained. --- components/WalletEvents.tsx | 10 +--------- components/WalletSummary.tsx | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/components/WalletEvents.tsx b/components/WalletEvents.tsx index 7f23974..54ff008 100644 --- a/components/WalletEvents.tsx +++ b/components/WalletEvents.tsx @@ -129,20 +129,12 @@ const SharesOfUser = (props: ISharesOfUserProps) => { )} {unstakeAmount == "0" ? null : ( - Unstake Amount:{" "} + Unstaking:{" "} {toCurrency(unstakeAmount)} {" "} )} - {unstakeShares == "0" ? null : ( - - Unstaked:{" "} - - {toCurrency(unstakeShares)} - {" "} - - )} {unstakeScheduledFor > 0 ? ( Unstake Scheduled For:{" "} diff --git a/components/WalletSummary.tsx b/components/WalletSummary.tsx index beb9f18..afe986b 100644 --- a/components/WalletSummary.tsx +++ b/components/WalletSummary.tsx @@ -91,7 +91,7 @@ export const WalletSummary = (props: IWalletSummaryProps) => {
-
Unstake
+
Unstaking
{noDecimals(toCurrency(wallet.userUnstake))}