update swap token list labels

This commit is contained in:
saml33 2022-11-22 21:36:45 +11:00
parent 67c1064d38
commit 02cabb1b33
1 changed files with 4 additions and 2 deletions

View File

@ -170,8 +170,10 @@ const SwapFormTokenList = ({
<>
<p className="mb-3">
{type === 'input'
? `${t('swap')} ${t('swap:from')}`
: `${t('swap')} ${t('swap:to')}`}
? t('swap:pay')
: type === 'output'
? t('swap:receive')
: ''}
</p>
<IconButton
className="absolute top-2 right-2 text-th-fgd-3 hover:text-th-fgd-2"