Skip to content

Commit 6619374

Browse files
authored
Merge pull request #257 from Developer-DAO/staging
production update: staging to main
2 parents e5cd979 + 2194677 commit 6619374

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

src/components/Topbar.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,11 @@ export default function Topbar() {
128128
spacing={6}
129129
minW={"10rem"}
130130
>
131-
<ConnectButton accountStatus="address" />
131+
<ConnectButton
132+
accountStatus="address"
133+
showBalance={false}
134+
chainStatus="none"
135+
/>
132136
</Stack>
133137
</Flex>
134138

src/components/mdx/QuizStatusChecker.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ const QuizStatusChecker = ({ quiz }: QuizStatusCheckerTye) => {
4848
</Center>
4949
<br />
5050
<Center>
51-
<ConnectButton />
51+
<ConnectButton
52+
accountStatus="address"
53+
showBalance={false}
54+
chainStatus="none"
55+
/>
5256
</Center>
5357
</>
5458
) : quizCompleted ? (

src/pages/_app.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { zerionWallet } from "@rainbow-me/rainbowkit/wallets";
2222

2323
// SIWE Integration
2424
import { WagmiConfig, createConfig, configureChains } from "wagmi";
25-
import { polygon, polygonMumbai } from "wagmi/chains";
25+
import { polygon /* , polygonMumbai */ } from "wagmi/chains";
2626
import { publicProvider } from "wagmi/providers/public";
2727
import { ChakraProvider } from "@chakra-ui/react";
2828
import { theme } from "@/theme";
@@ -35,12 +35,8 @@ import { AppContextProvider } from "@/contexts/AppContextProvider";
3535
/**
3636
* Configure chains supported
3737
*/
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;
4440

4541
const { chains, publicClient } = configureChains(
4642
[CURRENT_CHAIN],

0 commit comments

Comments
 (0)