Skip to content

Commit

Permalink
chore: icon renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
wainola committed Feb 12, 2024
1 parent 82aac26 commit 2058d76
Show file tree
Hide file tree
Showing 3 changed files with 9,644 additions and 6,577 deletions.
File renamed without changes
8 changes: 4 additions & 4 deletions src/utils/Helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const getIconNamePerChainId = (chainId: number): string => {
switch (chainId) {
case 5:
case 11155111: {
return "all.svg"
return "eth.svg"
}
case 80001: {
return "polygon.svg"
Expand All @@ -61,7 +61,7 @@ export const getIconNamePerChainId = (chainId: number): string => {
return "moonbeam.svg"
}
default: {
return "all.svg"
return "eth.svg"
}
}
}
Expand Down Expand Up @@ -249,7 +249,7 @@ export const renderNetworkIcon = (chainId: number, classes: Record<"networkIcon"
case 5:
case 11155111:
case 17000:
return <img src={`/assets/icons/all.svg`} alt="ethereum" className={classes.networkIcon} />
return <img src={`/assets/icons/eth.svg`} alt="ethereum" className={classes.networkIcon} />
case 5231:
case 5233:
return <img src={`/assets/icons/phala-black.svg`} alt="substrate" className={classes.substrateNetworkIcon} />
Expand All @@ -270,7 +270,7 @@ export const renderNetworkIcon = (chainId: number, classes: Record<"networkIcon"
case 421614:
return <img src={`/assets/icons/arbitrum.svg`} alt="gnosis" className={classes.networkIcon} />
default:
return <img src={`/assets/icons/all.svg`} alt="ethereum" className={classes.networkIcon} />
return <img src={`/assets/icons/eth.svg`} alt="ethereum" className={classes.networkIcon} />
}
}

Expand Down
Loading

0 comments on commit 2058d76

Please sign in to comment.