Fix: version 1.2.7

This commit is contained in:
2024-12-02 17:08:53 +08:00
parent 39a44a7b0c
commit 1b83de0189
7 changed files with 50 additions and 69 deletions

View File

@@ -1,10 +1,14 @@
import { redirect } from "next/navigation";
import versionUpdate from "../../package.json";
import { SplashScreen } from "@/app_modules/auth";
import { useShallowEffect } from "@mantine/hooks";
export default async function Page() {
const version = versionUpdate.version;
export default function Page() {
// useShallowEffect(() => {
// setTimeout(() => {
// window.location.replace("/dev/home");
// }, 100);
// }, []);
// return <Login version={version} />;
return redirect("/dev/home");
// return <PageSplash />;
// return <div>spash</div>;
return <SplashScreen />;
}