20 lines
539 B
TypeScript
20 lines
539 B
TypeScript
|
|
import { SalesReportClient } from '@/components/reports/sales/sales-report-client';
|
||
|
|
|
||
|
|
export const dynamic = 'force-dynamic';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Sales Performance report.
|
||
|
|
*
|
||
|
|
* Sibling of the dynamic [kind] route so the page wins over the
|
||
|
|
* placeholder for /reports/sales specifically. Spec lives in
|
||
|
|
* docs/reports-content-spec.md § Report 01.
|
||
|
|
*/
|
||
|
|
export default async function SalesReportPage({
|
||
|
|
params,
|
||
|
|
}: {
|
||
|
|
params: Promise<{ portSlug: string }>;
|
||
|
|
}) {
|
||
|
|
const { portSlug } = await params;
|
||
|
|
return <SalesReportClient portSlug={portSlug} />;
|
||
|
|
}
|