Commit 2c1c076d authored by Agustin Aguilar's avatar Agustin Aguilar Committed by Noah Zinsmeister

hotfix/trust-icons-change (#501)

* Trust URI scheme, replaced by checksum address

* Run prettier
parent bb4d0350
import React, { useState } from 'react'
import styled from 'styled-components'
import { isAddress } from '../../utils'
import { ReactComponent as EthereumLogo } from '../../assets/images/ethereum-logo.svg'
const TOKEN_ICON_API = address =>
`https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/${address}/logo.png`
`https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/${isAddress(
address
)}/logo.png`
const BAD_IMAGES = {}
const Image = styled.img`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment