From 6f4ecaa362c2333c59d08f775c13fa1c5bf5e13b Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Thu, 9 Jan 2025 08:53:25 +0700
Subject: <iman> update tempo

---
 src/core/components/elements/Navbar/NavbarUserDropdown.jsx | 6 +++---
 1 file changed, 3 insertions(+), 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 83407bfd..7ed269b8 100644
--- a/src/core/components/elements/Navbar/NavbarUserDropdown.jsx
+++ b/src/core/components/elements/Navbar/NavbarUserDropdown.jsx
@@ -22,9 +22,9 @@ const NavbarUserDropdown = () => {
         <Link href='/my/shipments'>Daftar Pengiriman</Link>
         <Link href='/my/invoices'>Invoice & Faktur Pajak</Link>
         {atuh &&
-          (atuh.partnerTempo
-            ? atuh.partnerTempo?.toLowerCase().includes('tempo')
-            : '' || atuh.tempoProgres === 'review') && (
+          atuh.partnerTempo &&
+          (atuh.partnerTempo?.toLowerCase().includes('tempo') ||
+            atuh.tempoProgres === 'review') && (
             <Link href='/my/tempo'>Pembayaran Tempo</Link>
           )}
 
-- 
cgit v1.2.3

