diff --git a/packages/nextjs/app/page.tsx b/packages/nextjs/app/page.tsx index 01c5449..2f31e78 100644 --- a/packages/nextjs/app/page.tsx +++ b/packages/nextjs/app/page.tsx @@ -72,21 +72,17 @@ const Home: NextPage = () => {

Get started by taking a look at your batch GitHub repository.

+ -
- {checkedInCounter === undefined && !error ? ( -
- ) : checkedInCounter ? ( -

- Checked in builders count: - {checkedInCounter.toString()} -

- ) : ( -

- An error occurred, check your console for more information 👀 -

- )} -
+
+ {checkedInCounter === undefined && !error ? ( +
+ ) : checkedInCounter ? ( +

+ Checked-in Count: + {checkedInCounter.toString()} +

+ ) : null}
{/* Member Status */} diff --git a/packages/nextjs/components/Arrow_Icon.tsx b/packages/nextjs/components/Arrow_Icon.tsx index 755ed8f..a73aa0e 100644 --- a/packages/nextjs/components/Arrow_Icon.tsx +++ b/packages/nextjs/components/Arrow_Icon.tsx @@ -1,9 +1,17 @@ "use client"; +import { useEffect, useState } from "react"; import { useTheme } from "next-themes"; const Arrow_Icon = () => { const { theme } = useTheme(); + const [mounted, setMounted] = useState(false); + + useEffect(() => { + setMounted(true); + }, []); + + if (!mounted) return null; return ( @@ -11,9 +19,7 @@ const Arrow_Icon = () => { fillRule="evenodd" clipRule="evenodd" d="M16 16.5V0.5H0V2.5H13L0 15.5L1 16.5L14 3.5V16.5H16ZM16 0.5H13V3.5H16V0.5Z" - fill={` - ${theme === "light" ? "#000000" : "#868686"} - `} + fill={`${theme === "light" ? "#000000" : "#868686"}`} /> ); diff --git a/packages/nextjs/components/Card.tsx b/packages/nextjs/components/Card.tsx index 6f846a8..54b2bad 100644 --- a/packages/nextjs/components/Card.tsx +++ b/packages/nextjs/components/Card.tsx @@ -10,9 +10,7 @@ type Props = { const Card = ({ mainText, footerText, footerLink }: Props) => { return (
-
- {mainText} -
+
{mainText}

diff --git a/packages/nextjs/components/Footer.tsx b/packages/nextjs/components/Footer.tsx index ad02b74..66146d8 100644 --- a/packages/nextjs/components/Footer.tsx +++ b/packages/nextjs/components/Footer.tsx @@ -23,7 +23,7 @@ export const Footer = () => {
-
+
{nativeCurrencyPrice > 0 && (
@@ -42,7 +42,7 @@ export const Footer = () => { )}
- +
diff --git a/packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/index.tsx b/packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/index.tsx index 8dce607..c0cc359 100644 --- a/packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/index.tsx +++ b/packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/index.tsx @@ -1,10 +1,10 @@ "use client"; // @refresh reset +// import { BatchDetails } from "./BatchDetails"; import { Balance } from "../Balance"; import { AddressInfoDropdown } from "./AddressInfoDropdown"; import { AddressQRCodeModal } from "./AddressQRCodeModal"; -import { BatchDetails } from "./BatchDetails"; import { WrongNetworkDropdown } from "./WrongNetworkDropdown"; import { ConnectButton } from "@rainbow-me/rainbowkit"; import { Address } from "viem"; @@ -44,9 +44,10 @@ export const RainbowKitCustomConnectButton = () => { return ( <> -
+ {/* Commenting out old walletinfo in the header */} + {/*
-
+
*/}