Skip to content

Commit

Permalink
disable next button if the amount is below minimum
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Aug 15, 2023
1 parent 4cc3a4d commit f3ff95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Transfer/Source.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ function Source() {
))}
<TransferLimitedWarning isTransferLimited={isTransferLimited} />
<ButtonWithLoader
disabled={isTransferDisabled || !isSourceComplete}
disabled={isTransferDisabled || !isSourceComplete || isBelowMinimum}
onClick={handleNextClick}
showLoader={false}
error={isTransferDisabled ? "" : statusMessage || error}
Expand Down

0 comments on commit f3ff95f

Please sign in to comment.