diff --git a/.gitignore b/.gitignore index 786b7c83..87e72d97 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,9 @@ npm-debug.log* rn-debug.log* yarn-error.log* +# env +.env + # local env files .env*.local diff --git a/src/app_modules/auth/validasi/view.tsx b/src/app_modules/auth/validasi/view.tsx index 502b62c7..40398736 100644 --- a/src/app_modules/auth/validasi/view.tsx +++ b/src/app_modules/auth/validasi/view.tsx @@ -48,7 +48,7 @@ export default function Validasi({ dataOtp }: { dataOtp: any }) { if (res.role === "1") { ComponentGlobal_NotifikasiBerhasil(res.message); setLoading(true); - router.push(RouterHome.main_home, {scroll: false}); + router.push(RouterHome.main_home, { scroll: false }); } else { router.push(RouterAdminDashboard.splash_admin); } @@ -102,6 +102,7 @@ export default function Validasi({ dataOtp }: { dataOtp: any }) {