diff --git a/src/app/page.tsx b/src/app/page.tsx index a883192..fbe8287 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,6 @@ import { Footer, Fifth, MobileImageCard, - } from "@/components/index"; import style from "./page.module.css"; import { Russo_One } from "next/font/google"; @@ -32,6 +31,13 @@ export default function Home() { }); }; + const scrollToTop = () => { + window.scrollTo({ + top: 0, + behavior: "smooth" + }) + } + useEffect(() => { getDiscordMemberCount("nsam6YzE8R"); }, []); @@ -95,15 +101,14 @@ export default function Home() {