Skip to content

Commit

Permalink
fix: rm console logs (Uniswap#3743)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzmp authored Apr 15, 2022
1 parent 251b8b7 commit 00d3df9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/components/TokenImg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ function TokenImg({ token, ...rest }: TokenImgProps) {
// Use the wrapped token info so that it includes the logoURI.
const tokenInfo = useToken(token.isToken ? token.wrapped.address : undefined) ?? token

// TODO(zzmp): TokenImg takes a frame to switch.
const srcs = useCurrencyLogoURIs(tokenInfo)

const [attempt, setAttempt] = useState(0)
Expand All @@ -35,7 +34,6 @@ function TokenImg({ token, ...rest }: TokenImgProps) {
[src]
)

console.log('zzmp', tokenInfo.symbol, src)
if (!src) return <MissingToken color="secondary" {...rest} />

const alt = tokenInfo.name || tokenInfo.symbol
Expand Down

0 comments on commit 00d3df9

Please sign in to comment.