Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/0xsequence/demo-dapp
Browse files Browse the repository at this point in the history
  • Loading branch information
Agusx1211 committed Jul 19, 2023
2 parents de43276 + 8eb95d8 commit cdc2b11
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,11 @@ And that has made all the difference.
}, [chainId])

// networks list, filtered and sorted
const omitNetworks = [4, 31337, 31338, 1313161554, 1313161556]
const omitNetworks = [
ChainId.RINKEBY, ChainId.HARDHAT, ChainId.HARDHAT_2, ChainId.KOVAN,
ChainId.FANTOM, ChainId.FANTOM_TESTNET, ChainId.ROPSTEN,
ChainId.AURORA, ChainId.AURORA_TESTNET
]
const networks = Object.values(sequence.network.networks)
.filter(val => (omitNetworks.indexOf(val.chainId) < 0))
.sort((a, b) => a.title > b.title ? 1 : -1)
Expand Down

0 comments on commit cdc2b11

Please sign in to comment.