From 22d2603a1157e1cdf00cad2c834f0f74ca6c7e22 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 4 Mar 2026 19:49:13 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 9619375..4e4a491 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { useState, useEffect } from "react"; +import { useState } from "react"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline"; import HeroBillboardGallery from "@/components/sections/hero/HeroBillboardGallery"; @@ -30,12 +30,6 @@ import { export default function LandingPage() { const [isAuthenticated, setIsAuthenticated] = useState(false); const [showOnboarding, setShowOnboarding] = useState(false); - const [mounted, setMounted] = useState(false); - - // Hydration fix: only render after client mount - useEffect(() => { - setMounted(true); - }, []); const handleCompleteOnboarding = () => { try { @@ -63,10 +57,6 @@ export default function LandingPage() { setShowOnboarding(true); }; - if (!mounted) { - return null; - } - if (isAuthenticated && showOnboarding) { return (