Skip to content

Commit

Permalink
chore: polygon info
Browse files Browse the repository at this point in the history
  • Loading branch information
wainola committed Nov 13, 2023
1 parent eab39a5 commit 503b6ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/Helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ export const getNetworkNames = (chainId: number): string => {
return "Holesky"
case 80001:
return "Mumbai"
case 137:
return "Polygon"
default:
return "Ethereum"
}
Expand Down Expand Up @@ -247,6 +249,7 @@ export const renderNetworkIcon = (chainId: number, classes: Record<"networkIcon"
case 25:
return <img src={`/assets/icons/cronos.svg`} alt="cronos" className={classes.networkIcon} />
case 80001:
case 137:
return <img src={`/assets/icons/polygon.svg`} alt="polygon" className={classes.networkIcon} />
default:
return <img src={`/assets/icons/all.svg`} alt="ethereum" className={classes.networkIcon} />
Expand Down

0 comments on commit 503b6ef

Please sign in to comment.