You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
337 B
TypeScript
13 lines
337 B
TypeScript
import SlotDefinitionsComponent from './SlotDefinitionsComponent';
|
|
|
|
export default async function SlotDefinitionsPage({
|
|
params
|
|
}: {
|
|
params: Promise<{ facility_id: string }>;
|
|
}) {
|
|
const { facility_id } = await params;
|
|
const facilityId = parseInt(facility_id, 10);
|
|
|
|
return <SlotDefinitionsComponent facilityId={facilityId} />;
|
|
}
|