import { PageProps } from '$fresh/server.ts' import { MachineCard, machineMock } from '../../components/MachineCard.tsx' export default function Machine({ params }: PageProps) { const machine = machineMock.at(Number(params.id)) return ( machine ? MachineCard(machine) :