upd: profile
Deskripsi: - membuat routing profile - membuat view profile - mengganti routing menjadi window No Issues
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -8,7 +8,8 @@ export default function ViewVerification() {
|
||||
const router = useRouter();
|
||||
|
||||
function onNext() {
|
||||
router.push("/welcome");
|
||||
// router.push("/welcome");
|
||||
window.location.href = "/welcome"
|
||||
}
|
||||
return (
|
||||
<>
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user