Fix upload image profile and portofolio
This commit is contained in:
@@ -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);
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user