Skip to content

Commit

Permalink
Rostislav / WALL-2011 / Fiat<->Fiat transfer percentage selector remo…
Browse files Browse the repository at this point in the history
…ved (deriv-com#10511)

* fix: mt5<->fiat no more percentage selector

* fix: logic
  • Loading branch information
rostislav-deriv authored Oct 5, 2023
1 parent 31c1f9e commit d61b94a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,8 @@ const AccountTransferForm = observer(
error={getMt5Error() ?? selected_to.error}
/>
</div>
{selected_from.currency === selected_to.currency ? (
{selected_from.currency === selected_to.currency ||
(!selected_from.is_crypto && !selected_to.is_crypto) ? (
<Field name='amount' validate={validateAmount}>
{({ field }: FieldProps<string>) => (
<Input
Expand Down

0 comments on commit d61b94a

Please sign in to comment.