Skip to content

Commit

Permalink
fix tokenlist logo (KyberNetwork#310)
Browse files Browse the repository at this point in the history
Signed-off-by: Nam Nguyen <[email protected]>
  • Loading branch information
namgold committed Apr 25, 2022
1 parent a6faa11 commit 1ae1225
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/TokenLogo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ export default function TokenLogo({ address, networkInfo, header = false, size =

useEffect(() => {
setError(false)
}, [address, networkInfo])
BAD_IMAGES[networkInfo.chainId] && (BAD_IMAGES[networkInfo.chainId][address] = false)
}, [address, networkInfo, tokensList])

if (!networkInfo) return null

Expand Down

0 comments on commit 1ae1225

Please sign in to comment.