diff --git a/components/Transaction/ui.tsx b/components/Transaction/ui.tsx index 00b0ec7..832857a 100644 --- a/components/Transaction/ui.tsx +++ b/components/Transaction/ui.tsx @@ -129,7 +129,7 @@ export const TxUI: FC = ({ const otherFields = Object.keys(txFields).filter(k => !richFields.includes(k)) as [keyof TxFields] const amountOptions = [ - { label: 'XAH', value: 'xrp' }, + { label: 'XAH', value: 'xah' }, { label: 'Token', value: 'token' } ] as const @@ -296,7 +296,7 @@ export const TxUI: FC = ({ value={isXrpAmount ? amountOptions['0'] : amountOptions['1']} onChange={(e: any) => { const opt = e as typeof amountOptions[number] - if (opt.value === 'xrp') { + if (opt.value === 'xah') { setRawField(field, 'amount.xrp', '0') } else { setRawField(field, 'amount.token', defaultTokenAmount)