Skip to content

Commit

Permalink
fix: chain names (#10488)
Browse files Browse the repository at this point in the history
  • Loading branch information
guanbinrui committed Aug 19, 2023
1 parent 9c57398 commit b127d3a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ export const SecurityPanel = memo<TokenCardProps>(({ tokenSecurity, tokenInfo, t
</Typography>
</Stack>
</Stack>
<Stack>
{hasWarningFactor ? (
{hasWarningFactor ? (
<Stack>
<div
style={{
backgroundColor:
Expand All @@ -139,8 +139,8 @@ export const SecurityPanel = memo<TokenCardProps>(({ tokenSecurity, tokenInfo, t
{riskyFactors !== 0 ? t.high_risk() : t.medium_risk()}
</Typography>
</div>
) : null}
</Stack>
</Stack>
) : null}
</Stack>
<Stack spacing={1}>
<Stack direction="row" justifyContent="space-between">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { NetworkPluginID } from '@masknet/shared-base'
export const SupportedChainList = [
'Ethereum',
'BNB Chain',
'Base',
'Polygon',
'Arbitrum One',
'Optimism',
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-shared/evm/src/constants/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@
{
"chainId": 250,
"type": "Fantom",
"name": "FTM",
"name": "Fantom",
"fullName": "Fantom Opera",
"network": "mainnet",
"shortName": "ftm",
Expand Down Expand Up @@ -458,7 +458,7 @@
{
"chainId": 43114,
"type": "Avalanche",
"name": "AVAX",
"name": "Avalanche",
"color": "rgb(232, 65, 66)",
"network": "mainnet",
"shortName": "AVAX",
Expand Down

0 comments on commit b127d3a

Please sign in to comment.