import ReportEditor from './ReportEditor';

interface Params {
  params: Promise<{ rowId: string; reportId: string }>;
}

export default async function Page({ params }: Params) {
  const { rowId, reportId } = await params;
  return <ReportEditor rowId={Number(rowId)} reportId={Number(reportId)} />;
}
