Skip to content

Commit

Permalink
fixup! fix: correct some configuration for Metis (#11499) (#11503)
Browse files Browse the repository at this point in the history
  • Loading branch information
swkatmask authored and guanbinrui committed Mar 18, 2024
1 parent 4557fa4 commit ecda511
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
Expand Up @@ -26,6 +26,7 @@ const useStyles = makeStyles()((theme) => {
width: '100%',
padding: 0,
},
scrollbarWidth: 'none',
'&::-webkit-scrollbar': {
display: 'none',
},
Expand Down
Expand Up @@ -23,6 +23,7 @@ const useStyles = makeStyles()((theme) => {
[smallQuery]: {
padding: 0,
},
scrollbarWidth: 'none',
'&::-webkit-scrollbar': {
display: 'none',
},
Expand Down
6 changes: 3 additions & 3 deletions packages/web3-shared/evm/src/constants/chains.json
Expand Up @@ -1068,8 +1068,8 @@
},
{
"chainId": 1088,
"name": "Metis Andromeda Mainnet",
"type": "Metis Andromeda Mainnet",
"name": "Metis",
"type": "Metis",
"network": "mainnet",
"features": [],
"nativeCurrency": {
Expand All @@ -1083,7 +1083,7 @@
"shortName": "metis-andromeda",
"explorers": [
{
"name": "Metis Andromeda Mainnet",
"name": "Metis",
"url": "https://andromeda-explorer.metis.io/"
}
]
Expand Down
3 changes: 3 additions & 0 deletions packages/web3-shared/evm/src/constants/descriptors.ts
Expand Up @@ -110,6 +110,7 @@ export const NETWORK_DESCRIPTORS: ReadonlyArray<NetworkDescriptor<ChainId, Netwo
name: 'Base',
icon: new URL('../assets/base.png', import.meta.url).href,
iconColor: 'rgb(0, 82, 255)',
backgroundGradient: 'linear-gradient(180deg, rgba(130, 71, 229, 0.15) 0%, rgba(130, 71, 229, 0.05) 100%)',
averageBlockDelay: 10,
isMainnet: true,
},
Expand Down Expand Up @@ -298,6 +299,7 @@ export const NETWORK_DESCRIPTORS: ReadonlyArray<NetworkDescriptor<ChainId, Netwo
type: NetworkType.Metis,
icon: new URL('../assets/metis.svg', import.meta.url).href,
iconColor: 'rgb(36, 150, 238)',
backgroundGradient: 'linear-gradient(180deg, rgba(130, 71, 229, 0.15) 0%, rgba(130, 71, 229, 0.05) 100%)',
name: 'Metis',
isMainnet: true,
averageBlockDelay: 10,
Expand All @@ -309,6 +311,7 @@ export const NETWORK_DESCRIPTORS: ReadonlyArray<NetworkDescriptor<ChainId, Netwo
type: NetworkType.Metis,
icon: new URL('../assets/metis.svg', import.meta.url).href,
iconColor: 'rgb(36, 150, 238)',
backgroundGradient: 'linear-gradient(180deg, rgba(130, 71, 229, 0.15) 0%, rgba(130, 71, 229, 0.05) 100%)',
name: 'Metis Sepolia',
isMainnet: false,
averageBlockDelay: 10,
Expand Down

0 comments on commit ecda511

Please sign in to comment.