import DocumentDetailPage from '@/widgets/detail/pageDetail';

interface Props {
  params: Promise<{ detail: string }>;
}

export default async function DetailPage({ params }: Props) {
  const { detail } = await params;
  console.log(detail);
  return <DocumentDetailPage id={Number(detail)} />;
}
