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/lib/auth/components/Menu.jsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/lib/auth/components/Menu.jsx')

diff --git a/src/lib/auth/components/Menu.jsx b/src/lib/auth/components/Menu.jsx
index 82a4de81..b562878d 100644
--- a/src/lib/auth/components/Menu.jsx
+++ b/src/lib/auth/components/Menu.jsx
@@ -63,8 +63,9 @@ const Menu = () => {
         </div>
       </LinkItem>
       {auth &&
-        (auth?.partnerTempo.toLowerCase().includes('tempo') ||
-          auth.tempoProgres == 'review') && (
+        auth.partnerTempo &&
+        (auth.partnerTempo?.toLowerCase().includes('tempo') ||
+          auth.tempoProgres === 'review') && (
           <LinkItem href='/my/tempo' active={routeStartWith('/my/tempo')}>
             <div className='flex gap-x-3 items-center'>
               <ImageNext
-- 
cgit v1.2.3

