import { formatIDR } from '@/utils' import { router } from '@inertiajs/react' import { HiOutlineCash } from 'react-icons/hi' export default function BalanceBanner({ user }) { return (
router.get(route('customer.deposit.index'))} >
Saldo
Rp {user.display_deposit}
Coin {user.display_coin}
{/* */}
Rewards
{user.level.name} Member
{formatIDR(user.paylater_limit)}
) }