From 08eed15b798d549146b035ffd9a44cea5e55b283 Mon Sep 17 00:00:00 2001 From: Bagasbanuna02 Date: Mon, 2 Dec 2024 17:32:21 +0800 Subject: [PATCH] Fix: version 1.2.10 --- src/app/page.tsx | 14 +++++++------- src/app_modules/auth/splash/view.tsx | 9 +++------ 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 8b02ac00..3a1f99a2 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,14 +1,14 @@ +"use client"; + import { SplashScreen } from "@/app_modules/auth"; import { useShallowEffect } from "@mantine/hooks"; export default function Page() { - // useShallowEffect(() => { - // setTimeout(() => { - // window.location.replace("/dev/home"); - // }, 100); - // }, []); + useShallowEffect(() => { + setTimeout(() => { + window.location.replace("/dev/home"); + }, 1000); + }, []); - // return ; - // return
spash
; return ; } diff --git a/src/app_modules/auth/splash/view.tsx b/src/app_modules/auth/splash/view.tsx index 259a6eb4..aa71976b 100644 --- a/src/app_modules/auth/splash/view.tsx +++ b/src/app_modules/auth/splash/view.tsx @@ -1,5 +1,6 @@ "use client"; +import { UIGlobal_LayoutDefault } from "@/app_modules/_global/ui"; import { Avatar, BackgroundImage, Center, Image, Stack } from "@mantine/core"; import { useShallowEffect } from "@mantine/hooks"; import { useRouter } from "next/navigation"; @@ -15,11 +16,7 @@ export default function SplashScreen() { return ( <> - +
{/* Welcome to */} @@ -33,7 +30,7 @@ export default function SplashScreen() {
-
+ ); }