summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-01-15 16:17:54 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-01-15 16:17:54 +0700
commit7a14ed5ccdde86d0400d6aa02ac866317d4add63 (patch)
tree10bf689c44966860e7fd412806fda20be1c211fe /src
parent8073c4156accb3fa88469e7a16a65e46983100a5 (diff)
<iman> update menu pembayaran tempo logic
Diffstat (limited to 'src')
-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]);