summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pages/my/tempo/index.jsx14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/pages/my/tempo/index.jsx b/src/pages/my/tempo/index.jsx
index a1897e51..5fb9deba 100644
--- a/src/pages/my/tempo/index.jsx
+++ b/src/pages/my/tempo/index.jsx
@@ -16,12 +16,14 @@ export default function MyTempo() {
if (!auth) {
const nextUrl = encodeURIComponent(router.asPath);
router.push(`/login?next=${nextUrl}`);
- } else if (
- (auth.tempoProgres === '' || auth.tempoProgres === 'rejected') &&
- !auth.company
- ) {
- router.push('/pengajuan-tempo');
- } else {
+ }
+ // else if (
+ // (auth.tempoProgres === '' || auth.tempoProgres === 'rejected') &&
+ // !auth.company
+ // ) {
+ // router.push('/pengajuan-tempo');
+ // }
+ else {
setIsLoading(false);
}
}, [auth]);