import React from 'react' import { Head, router } from '@inertiajs/react' import { HiChevronLeft } from 'react-icons/hi2' import CustomerLayout from '@/Layouts/CustomerLayout' export default function Detail({ poin }) { return (
{ router.get(route('customer.poin.index')) }} >
{/* detail */}
{poin.description}
{poin.amount}
{poin.format_created_at}
) }