Fix upload image profile and portofolio

This commit is contained in:
2024-12-13 07:37:31 +08:00
parent 03c11c617c
commit 7cbbcd0370
16 changed files with 824 additions and 608 deletions

View File

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