diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-12-04 10:59:21 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-12-04 10:59:21 +0700 |
| commit | 9a49b8d84761781531cb417731cb9ef802f63541 (patch) | |
| tree | 140f9ca02190789d0d20f8ca13d00f20e81b6adc /src/core | |
| parent | 77f9843ad5072583cb1797d7ecf5ac80394bad3f (diff) | |
<iman> update pengajuan tempo
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/components/elements/Navbar/NavbarUserDropdown.jsx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/components/elements/Navbar/NavbarUserDropdown.jsx b/src/core/components/elements/Navbar/NavbarUserDropdown.jsx index b2abe80f..d19cf11d 100644 --- a/src/core/components/elements/Navbar/NavbarUserDropdown.jsx +++ b/src/core/components/elements/Navbar/NavbarUserDropdown.jsx @@ -13,7 +13,6 @@ const NavbarUserDropdown = () => { router.push('/login'); }); }; - console.log('atuh', atuh); return ( <div className='navbar-user-dropdown-wrapper'> <div className='navbar-user-dropdown'> @@ -22,10 +21,12 @@ const NavbarUserDropdown = () => { <Link href='/my/transactions'>Daftar Transaksi</Link> <Link href='/my/shipments'>Daftar Pengiriman</Link> <Link href='/my/invoices'>Invoice & Faktur Pajak</Link> - {(atuh?.partnerTempo.toLowerCase().includes('tempo') || - atuh.tempoProgres == 'review') && ( - <Link href='/my/tempo'>Pembayaran Tempo</Link> - )} + {atuh && + (atuh.partnerTempo?.toLowerCase().includes('tempo') || + atuh.tempoProgres === 'review') && ( + <Link href='/my/tempo'>Pembayaran Tempo</Link> + )} + <Link href='/my/wishlist'>Wishlist</Link> <Link href='/my/address'>Daftar Alamat</Link> {!atuh?.external && ( |
