Skip to content

Commit

Permalink
Fix dev/build Error
Browse files Browse the repository at this point in the history
  • Loading branch information
MananTank committed Apr 5, 2023
1 parent c697a20 commit 7cbee92
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 30 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"assert": "^2.0.0",
"stream": "^0.0.2"
}
}
8 changes: 4 additions & 4 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div className="unsupported-network">
<h2>Please connect to Goerli</h2>
<h2>Please connect to Mumbai</h2>
<p>
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.
</p>
</div>
Expand All @@ -173,7 +173,7 @@ const App = () => {
<div className="landing">
<h1>Welcome to NarutoDAO</h1>
<div className="btn-hero">
<ConnectWallet />
<ConnectWallet theme='light' />
</div>
</div>
);
Expand Down
26 changes: 0 additions & 26 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 7cbee92

Please sign in to comment.