From 7cbee9235acc7f55f6a8ad8769efe863f4f6ad4d Mon Sep 17 00:00:00 2001 From: Manan Tank Date: Thu, 6 Apr 2023 05:09:55 +0530 Subject: [PATCH] Fix dev/build Error --- package.json | 4 ++++ src/App.jsx | 8 ++++---- src/index.css | 26 -------------------------- 3 files changed, 8 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index 35efee0..ef1539e 100644 --- a/package.json +++ b/package.json @@ -32,5 +32,9 @@ "last 1 firefox version", "last 1 safari version" ] + }, + "devDependencies": { + "assert": "^2.0.0", + "stream": "^0.0.2" } } diff --git a/src/App.jsx b/src/App.jsx index d61f765..f5abf34 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -154,12 +154,12 @@ const App = () => { }); }, [memberAddresses, memberTokenAmounts]); - if (address && network?.[0].data.chain.id !== ChainId.Goerli) { + if (address && network?.[0].data.chain.chainId !== ChainId.Mumbai) { return (
-

Please connect to Goerli

+

Please connect to Mumbai

- This dapp only works on the Goerli network, please switch networks in + This dapp only works on the Mumbai network, please switch networks in your connected wallet.

@@ -173,7 +173,7 @@ const App = () => {

Welcome to NarutoDAO

- +
); diff --git a/src/index.css b/src/index.css index 9b97605..c891104 100644 --- a/src/index.css +++ b/src/index.css @@ -118,29 +118,3 @@ h1 { margin: auto; width: 250px; } - -button { - cursor: pointer; - background-color: #000; - color: #fff; - border: none; - font-weight: bold; - font-family: inherit; - padding: 1.2rem 2rem; - text-transform: uppercase; - border-radius: 3rem; - font-size: 1.2rem; -} - -button:hover { - background-color: #121212; -} - -button:focus { - background-color: #222; -} - -button:disabled { - opacity: 0.8; - pointer-events: none; -}