From f32bc641237fcab0924146192c65407cc71d524d Mon Sep 17 00:00:00 2001 From: Crypto Minion <154598612+jrwbabylonlab@users.noreply.github.com> Date: Thu, 8 Aug 2024 13:10:40 +1000 Subject: [PATCH] chore: improve the msg when staking amount exceeds the available balance (#54) * chore: improve the msg when staking amount exceeds the available balance --- src/app/components/Staking/Form/StakingAmount.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/Staking/Form/StakingAmount.tsx b/src/app/components/Staking/Form/StakingAmount.tsx index 244353d2..a680754b 100644 --- a/src/app/components/Staking/Form/StakingAmount.tsx +++ b/src/app/components/Staking/Form/StakingAmount.tsx @@ -84,7 +84,7 @@ export const StakingAmount: React.FC = ({ }, { valid: satoshis <= btcWalletBalanceSat, - message: `${errorLabel} must be no more than ${satoshiToBtc(btcWalletBalanceSat)} wallet balance.`, + message: `${errorLabel} exceeds your balance (${satoshiToBtc(btcWalletBalanceSat)} ${coinName})!`, }, { valid: validateDecimalPoints(value),