Skip to content

Commit

Permalink
chore: improve the msg when staking amount exceeds the available bala…
Browse files Browse the repository at this point in the history
…nce (#54)

* chore: improve the msg when staking amount exceeds the available balance
  • Loading branch information
jrwbabylonlab authored Aug 8, 2024
1 parent cace884 commit f32bc64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/Staking/Form/StakingAmount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const StakingAmount: React.FC<StakingAmountProps> = ({
},
{
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),
Expand Down

0 comments on commit f32bc64

Please sign in to comment.