Fix version 1.2.24

This commit is contained in:
2024-12-12 01:08:10 +08:00
parent 7145b08a44
commit 74448e1dd2

View File

@@ -2,11 +2,14 @@
import { SplashScreen } from "@/app_modules/auth";
import { useShallowEffect } from "@mantine/hooks";
import { useRouter } from "next/navigation";
export default function Page() {
const router = useRouter()
useShallowEffect(() => {
setTimeout(() => {
window.location.replace("/dev/home");
// window.location.replace("/dev/home");
router.replace("/dev/home");
}, 1000);
}, []);