summaryrefslogtreecommitdiff
path: root/src/core/components/elements
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-01-10 15:26:44 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-01-10 15:26:44 +0700
commitfedaceac3e41741c198c94fd20917c9572fa7ec1 (patch)
tree90466383dd2d2c76ddcf421fc9bedd10f6d9c15e /src/core/components/elements
parentad3418b4181a79485b0feb6882d6ae4ec744c776 (diff)
<iman> update tempo page mobile view
Diffstat (limited to 'src/core/components/elements')
-rw-r--r--src/core/components/elements/Navbar/NavbarUserDropdown.jsx4
1 files changed, 1 insertions, 3 deletions
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>
)}