import { AuditDetail } from "@/components/audits/audit-detail";

export default async function AuditDetailPage({
  params,
}: {
  params: Promise<{ id: string }>;
}) {
  const { id } = await params;

  return (
    <main className="px-4 py-5 sm:px-6 lg:px-8">
      <div className="mx-auto flex w-full max-w-7xl">
        <AuditDetail id={id as unknown as string} />
      </div>
    </main>
  );
}
