Skip to content

Commit

Permalink
fix: disable transfer button if either if the amounts is 0 (#13076)
Browse files Browse the repository at this point in the history
  • Loading branch information
aum-deriv authored Jan 22, 2024
1 parent 52b9120 commit b252dde
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ const TransferForm = () => {
</div>
</div>
<div className='wallets-transfer__submit-button'>
<WalletButton disabled={!values.toAmount} size={isMobile ? 'md' : 'lg'}>
<WalletButton
disabled={!values.fromAmount || !values.toAmount}
size={isMobile ? 'md' : 'lg'}
>
Transfer
</WalletButton>
</div>
Expand Down

1 comment on commit b252dde

@vercel
Copy link

@vercel vercel bot commented on b252dde Jan 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deriv-app – ./

binary.sx
deriv-app.vercel.app
deriv-app-git-master.binary.sx
deriv-app.binary.sx

Please sign in to comment.