import Link from '@/core/components/elements/Link/Link'; import { useRouter } from 'next/router'; import ImageNext from 'next/image'; import whatsappUrl from '@/core/utils/whatsappUrl'; import useAuth from '@/core/hooks/useAuth'; import switchAccountProgresApi from '@/lib/auth/api/switchAccountProgresApi.js'; import { useState, useEffect } from 'react'; import { InfoIcon } from 'lucide-react'; const Menu = () => { const router = useRouter(); const auth = useAuth(); const [ubahAkun, setUbahAkun] = useState(); useEffect(() => { const loadProgres = async () => { const progresSwitchAccount = await switchAccountProgresApi(); if (progresSwitchAccount) { setUbahAkun(progresSwitchAccount.status); } }; loadProgres(); }, []); const routeStartWith = (route) => router.pathname.startsWith(route); return (
Akun Bisnis
Review
Akun Individu
Daftar Quotation
Daftar Transaksi
Daftar Pengiriman
Invoice & Faktur Pajak
Wishlist
Layanan Pelanggan
Daftar Alamat
Profil Saya