diff --git a/src/stores/main.hundred.store.js b/src/stores/main.hundred.store.js index 6840c20..0226d03 100644 --- a/src/stores/main.hundred.store.js +++ b/src/stores/main.hundred.store.js @@ -30,7 +30,6 @@ class MainHundredStore { try{ const {data} = await axios.get('https://api.llama.fi/protocol/b.protocol') const {currentChainTvls} = data - debugger this.hundredTvlArbitrum = currentChainTvls.Arbitrum this.hundredTvlFantom = currentChainTvls.Fantom } catch (err) { diff --git a/src/stores/user.store.js b/src/stores/user.store.js index 8d8cc44..785360a 100644 --- a/src/stores/user.store.js +++ b/src/stores/user.store.js @@ -18,7 +18,6 @@ import WalletSelectionModal from "../components/modals/WalletSelectionModal" const supportedNetworks = { "1": "Mainnet", "42": "Kovan", - "421611": "Arbitrum Testnet", "1137": "Hardhat" } @@ -112,9 +111,11 @@ class UserStore { // save connection data to local storage window.localStorage.setItem("walletType", this.walletType) const networkType = await this.web3.eth.net.getId() - debugger if (!supportedNetworks[networkType.toString()]) { - EventBus.$emit("app-error", "Only Mainnet and Kovan testnet are supported"); + const path = window.location.pathname + if(path == "/compound" || path == "/maker" || path == "/app"){ + EventBus.$emit("app-error", "Only Mainnet and Kovan testnet are supported"); + } return false; } runInAction(()=> {