File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,11 @@ export default function Topbar() {
128
128
spacing = { 6 }
129
129
minW = { "10rem" }
130
130
>
131
- < ConnectButton accountStatus = "address" />
131
+ < ConnectButton
132
+ accountStatus = "address"
133
+ showBalance = { false }
134
+ chainStatus = "none"
135
+ />
132
136
</ Stack >
133
137
</ Flex >
134
138
Original file line number Diff line number Diff line change @@ -48,7 +48,11 @@ const QuizStatusChecker = ({ quiz }: QuizStatusCheckerTye) => {
48
48
</ Center >
49
49
< br />
50
50
< Center >
51
- < ConnectButton />
51
+ < ConnectButton
52
+ accountStatus = "address"
53
+ showBalance = { false }
54
+ chainStatus = "none"
55
+ />
52
56
</ Center >
53
57
</ >
54
58
) : quizCompleted ? (
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import { zerionWallet } from "@rainbow-me/rainbowkit/wallets";
22
22
23
23
// SIWE Integration
24
24
import { WagmiConfig , createConfig , configureChains } from "wagmi" ;
25
- import { polygon , polygonMumbai } from "wagmi/chains" ;
25
+ import { polygon /* , polygonMumbai */ } from "wagmi/chains" ;
26
26
import { publicProvider } from "wagmi/providers/public" ;
27
27
import { ChakraProvider } from "@chakra-ui/react" ;
28
28
import { theme } from "@/theme" ;
@@ -35,12 +35,8 @@ import { AppContextProvider } from "@/contexts/AppContextProvider";
35
35
/**
36
36
* Configure chains supported
37
37
*/
38
-
39
- const CURRENT_CHAIN =
40
- process . env . VERCEL_ENV !== undefined &&
41
- process . env . VERCEL_ENV === "production"
42
- ? polygon
43
- : polygonMumbai ;
38
+ const CURRENT_CHAIN = polygon ;
39
+ // process.env.VERCEL_ENV !== undefined && process.env.VERCEL_ENV === "production" ? polygon : polygonMumbai;
44
40
45
41
const { chains, publicClient } = configureChains (
46
42
[ CURRENT_CHAIN ] ,
You can’t perform that action at this time.
0 commit comments