import { usePage, router, Link } from '@inertiajs/react' export default function HeaderTrx({ enable = 'deposit' }) { const { props: { auth: { user }, }, } = usePage() return ( <>
{user.fullname}
Rp {user.display_deposit}
router.get(route('transactions.deposit.topup')) } > Top Up
{user.display_poin} poin
( kadaluarsa pada 20 juni 2023 )
Deposit Pembelian Poin
) }