Fix version 1.2.24
This commit is contained in:
@@ -2,11 +2,14 @@
|
|||||||
|
|
||||||
import { SplashScreen } from "@/app_modules/auth";
|
import { SplashScreen } from "@/app_modules/auth";
|
||||||
import { useShallowEffect } from "@mantine/hooks";
|
import { useShallowEffect } from "@mantine/hooks";
|
||||||
|
import { useRouter } from "next/navigation";
|
||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
|
const router = useRouter()
|
||||||
useShallowEffect(() => {
|
useShallowEffect(() => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.replace("/dev/home");
|
// window.location.replace("/dev/home");
|
||||||
|
router.replace("/dev/home");
|
||||||
}, 1000);
|
}, 1000);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user