Skip to content

Commit

Permalink
fix: adding optimism icon
Browse files Browse the repository at this point in the history
  • Loading branch information
wainola committed Sep 25, 2024
1 parent 7e260b7 commit 0aceabf
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions public/assets/icons/optimism.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/utils/renderUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const renderNetworkIcon = (caipId: string, classes: Record<"networkIcon"
case "eip155:10200":
return <img src={`/assets/icons/gnosis.svg`} alt="gnosis" className={classes.networkIcon} />
case "eip155:421614":
case "eip155:42161":
return <img src={`/assets/icons/arbitrum.svg`} alt="gnosis" className={classes.networkIcon} />
case "eip155:84532":
return <img src={`/assets/icons/base.svg`} alt="gnosis" className={classes.networkIcon} />
Expand All @@ -44,6 +45,8 @@ export const renderNetworkIcon = (caipId: string, classes: Record<"networkIcon"
case "eip155:1993":
case "eip155:8333":
return <img src={`/assets/icons/b3-sepolia.svg`} alt="gnosis" className={classes.networkIcon} />
case "eip155:10":
return <img src={`/assets/icons/optimism.svg`} alt="gnosis" className={classes.networkIcon} />
default:
return <img src={`/assets/icons/evm.svg`} alt="ethereum" className={classes.networkIcon} />
}
Expand Down

0 comments on commit 0aceabf

Please sign in to comment.