summaryrefslogtreecommitdiff
path: root/src/lib/auth/components/Menu.jsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-12-04 10:59:21 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-12-04 10:59:21 +0700
commit9a49b8d84761781531cb417731cb9ef802f63541 (patch)
tree140f9ca02190789d0d20f8ca13d00f20e81b6adc /src/lib/auth/components/Menu.jsx
parent77f9843ad5072583cb1797d7ecf5ac80394bad3f (diff)
<iman> update pengajuan tempo
Diffstat (limited to 'src/lib/auth/components/Menu.jsx')
-rw-r--r--src/lib/auth/components/Menu.jsx27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/lib/auth/components/Menu.jsx b/src/lib/auth/components/Menu.jsx
index 466b793e..82a4de81 100644
--- a/src/lib/auth/components/Menu.jsx
+++ b/src/lib/auth/components/Menu.jsx
@@ -62,19 +62,20 @@ const Menu = () => {
<p>Invoice & Faktur Pajak</p>
</div>
</LinkItem>
- {(atuh?.partnerTempo.toLowerCase().includes('tempo') ||
- atuh.tempoProgres == 'review') && (
- <LinkItem href='/my/tempo' active={routeStartWith('/my/tempo')}>
- <div className='flex gap-x-3 items-center'>
- <ImageNext
- src='/images/icon/icon_tempo.svg'
- width={18}
- height={20}
- />
- <p>Pembayaran Tempo</p>
- </div>
- </LinkItem>
- )}
+ {auth &&
+ (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
+ src='/images/icon/icon_tempo.svg'
+ width={18}
+ height={20}
+ />
+ <p>Pembayaran Tempo</p>
+ </div>
+ </LinkItem>
+ )}
<LinkItem href='/my/wishlist' active={routeStartWith('/my/wishlist')}>
<div className='flex gap-x-3 items-center'>
<ImageNext