From fedaceac3e41741c198c94fd20917c9572fa7ec1 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Fri, 10 Jan 2025 15:26:44 +0700
Subject: <iman> update tempo page mobile view

---
 src/core/components/elements/Navbar/NavbarUserDropdown.jsx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'src/core/components/elements/Navbar/NavbarUserDropdown.jsx')

diff --git a/src/core/components/elements/Navbar/NavbarUserDropdown.jsx b/src/core/components/elements/Navbar/NavbarUserDropdown.jsx
index 7ed269b8..b2ad6309 100644
--- a/src/core/components/elements/Navbar/NavbarUserDropdown.jsx
+++ b/src/core/components/elements/Navbar/NavbarUserDropdown.jsx
@@ -7,7 +7,6 @@ import useAuth from '@/core/hooks/useAuth';
 const NavbarUserDropdown = () => {
   const router = useRouter();
   const atuh = useAuth();
-
   const logout = async () => {
     deleteAuth().then(() => {
       router.push('/login');
@@ -23,8 +22,7 @@ const NavbarUserDropdown = () => {
         <Link href='/my/invoices'>Invoice & Faktur Pajak</Link>
         {atuh &&
           atuh.partnerTempo &&
-          (atuh.partnerTempo?.toLowerCase().includes('tempo') ||
-            atuh.tempoProgres === 'review') && (
+          (atuh.partnerTempo || atuh.tempoProgres === 'review') && (
             <Link href='/my/tempo'>Pembayaran Tempo</Link>
           )}
 
-- 
cgit v1.2.3

