diff --git a/src/views/forms/AccountManagementForms/DepositForm/DepositButtonAndReceipt.tsx b/src/views/forms/AccountManagementForms/DepositForm/DepositButtonAndReceipt.tsx index 5cd5815..4edf5f6 100644 --- a/src/views/forms/AccountManagementForms/DepositForm/DepositButtonAndReceipt.tsx +++ b/src/views/forms/AccountManagementForms/DepositForm/DepositButtonAndReceipt.tsx @@ -165,7 +165,7 @@ export const DepositButtonAndReceipt = ({ }, { key: 'slippage', - label: {stringGetter({ key: STRING_KEYS.SLIPPAGE })}, + label: {stringGetter({ key: STRING_KEYS.MAX_SLIPPAGE })}, value: ( , subitems: feeSubitems, }, + { + key: 'slippage', + label: {stringGetter({ key: STRING_KEYS.MAX_SLIPPAGE })}, + value: ( + + ), + }, + { + key: 'exchange-rate', + label: {stringGetter({ key: STRING_KEYS.EXCHANGE_RATE })}, + value: withdrawToken && typeof summary?.exchangeRate === 'number' && ( + + + = + + + ), + }, + { + key: 'estimatedRouteDuration', + label: {stringGetter({ key: STRING_KEYS.ESTIMATED_TIME })}, + value: typeof summary?.estimatedRouteDuration === 'number' && ( + + ), + }, { key: 'wallet', label: ( - {stringGetter({ key: STRING_KEYS.AMOUNT_RECEIVED })}{' '} + {stringGetter({ key: STRING_KEYS.MINIMUM_AMOUNT_RECEIVED })}{' '} {withdrawToken && {withdrawToken?.symbol}} ), @@ -130,51 +175,6 @@ export const WithdrawButtonAndReceipt = ({ /> ), }, - { - key: 'exchange-rate', - label: {stringGetter({ key: STRING_KEYS.EXCHANGE_RATE })}, - value: withdrawToken && typeof summary?.exchangeRate === 'number' && ( - - - = - - - ), - }, - { - key: 'slippage', - label: {stringGetter({ key: STRING_KEYS.SLIPPAGE })}, - value: ( - - ), - }, - { - key: 'estimatedRouteDuration', - label: {stringGetter({ key: STRING_KEYS.ESTIMATED_TIME })}, - value: typeof summary?.estimatedRouteDuration === 'number' && ( - - ), - }, ]; const isFormValid = !isDisabled && !isEditingSlippage;