diff --git a/web/src/components/Footer/Footer.js b/web/src/components/Footer/Footer.js index 9e37b22..203eb44 100644 --- a/web/src/components/Footer/Footer.js +++ b/web/src/components/Footer/Footer.js @@ -20,6 +20,7 @@ const Footer = () => { Overview @@ -30,6 +31,7 @@ const Footer = () => { Videos @@ -40,6 +42,7 @@ const Footer = () => { Docs @@ -48,6 +51,7 @@ const Footer = () => { Get Started @@ -55,7 +59,8 @@ const Footer = () => {
  • Github @@ -69,6 +74,7 @@ const Footer = () => { DAO{" "} @@ -82,6 +88,7 @@ const Footer = () => { Telegram @@ -92,6 +99,7 @@ const Footer = () => { Discord @@ -102,6 +110,7 @@ const Footer = () => { Forum @@ -117,6 +126,7 @@ const Footer = () => { { { { { -
    ); }; diff --git a/web/src/context/web3Context.js b/web/src/context/web3Context.js index f8188ca..89d9996 100644 --- a/web/src/context/web3Context.js +++ b/web/src/context/web3Context.js @@ -52,6 +52,11 @@ export const Web3ContextProvider = ({ children }) => { const networkData = supportedChains.find( (chain) => chain.network_id === Number(modal.networkVersion), ); + if (networkData === undefined) { + alert("Connecting to the wrong network. Supported networks: " + supportedChains.map(c => c.network).join(',')); + return; + } + const web3Provider = new providers.Web3Provider( await web3Modal.connect(), {