From 7a14ed5ccdde86d0400d6aa02ac866317d4add63 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Wed, 15 Jan 2025 16:17:54 +0700 Subject: update menu pembayaran tempo logic --- src/pages/my/tempo/index.jsx | 14 ++++++++------ 1 file 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]); -- cgit v1.2.3