Fix value icon in custom tx review modal

This commit is contained in:
Germán Martínez 2019-09-05 12:32:00 +02:00
parent 188b00fd62
commit 425d481a7d
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ import Hairline from '~/components/layout/Hairline'
import SafeInfo from '~/routes/safe/components/Balances/SendModal/SafeInfo'
import { setImageToPlaceholder } from '~/routes/safe/components/Balances/utils'
import { getWeb3 } from '~/logic/wallets/getWeb3'
import { getEthAsToken } from '~/logic/tokens/utils/tokenHelpers'
import ArrowDown from '../assets/arrow-down.svg'
import { secondary } from '~/theme/variables'
import { styles } from './style'
@ -113,7 +114,7 @@ const ReviewCustomTx = ({
</Paragraph>
</Row>
<Row margin="md" align="center">
<Img src="tx.token.logoUri" height={28} alt="Ether" onError={setImageToPlaceholder} />
<Img src={getEthAsToken().logoUri} height={28} alt="Ether" onError={setImageToPlaceholder} />
<Paragraph size="md" noMargin className={classes.value}>
{tx.value}
{'ETH'}