From d61b94abce6d57cad6508344d24fb80c754c2648 Mon Sep 17 00:00:00 2001 From: Rostik Kayko <119863957+rostislav-deriv@users.noreply.github.com> Date: Thu, 5 Oct 2023 14:09:28 +0300 Subject: [PATCH] Rostislav / WALL-2011 / Fiat<->Fiat transfer percentage selector removed (#10511) * fix: mt5<->fiat no more percentage selector * fix: logic --- .../account-transfer-form/account-transfer-form.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cashier/src/pages/account-transfer/account-transfer-form/account-transfer-form.tsx b/packages/cashier/src/pages/account-transfer/account-transfer-form/account-transfer-form.tsx index 8d239d118bbd..b73d6cfeba93 100644 --- a/packages/cashier/src/pages/account-transfer/account-transfer-form/account-transfer-form.tsx +++ b/packages/cashier/src/pages/account-transfer/account-transfer-form/account-transfer-form.tsx @@ -498,7 +498,8 @@ const AccountTransferForm = observer( error={getMt5Error() ?? selected_to.error} /> - {selected_from.currency === selected_to.currency ? ( + {selected_from.currency === selected_to.currency || + (!selected_from.is_crypto && !selected_to.is_crypto) ? ( {({ field }: FieldProps) => (