upd: profile

Deskripsi:
- membuat routing profile
- membuat view profile

- mengganti routing menjadi window

No Issues
This commit is contained in:
amel
2024-07-03 17:29:29 +08:00
parent 313d39bfc6
commit 612cde50bf
10 changed files with 65 additions and 20 deletions

View File

@@ -20,7 +20,8 @@ function ViewLogin() {
"Kami akan mengirim kode verifikasi melalui WhatsApp, guna mengonfirmasikan nomor Anda.";
function onMasuk() {
router.push("/verification")
// router.push("/verification")
window.location.href = "/verification"
}
return (

View File

@@ -8,7 +8,8 @@ export default function ViewVerification() {
const router = useRouter();
function onNext() {
router.push("/welcome");
// router.push("/welcome");
window.location.href = "/welcome"
}
return (
<>

View File

@@ -37,7 +37,8 @@ export function ViewWelcome() {
function onLanjutkan() {
if (index === listTextWellcome.length - 1) {
return router.push("/home");
// return router.push("/home");
return window.location.href = "/home"
}
setIndex(index + 1);
}