import { penaltyColumns } from "(app)/admin/penalty/columns";
import { PaginatedTable } from "_components/PaginatedTable";

export default function ReportPage() {
	return (
		<PaginatedTable
			prismaModel="penalty"
			stickyHeaders
			include={{
				CreatedUser: true,
				Report: true,
			}}
			initialOrderBy={[
				{
					id: "timestamp",
					desc: true,
				},
			]}
			columns={penaltyColumns}
		/>
	);
}
