link-stack/apps/link/app/(main)/tickets/[id]/@detail/page.tsx

14 lines
254 B
TypeScript
Raw Normal View History

2023-06-26 10:07:12 +00:00
import { TicketDetail } from "./_components/TicketDetail";
type PageProps = {
2024-11-25 09:31:25 +01:00
params: Promise<{
2023-06-26 10:07:12 +00:00
id: string;
2024-11-25 09:31:25 +01:00
}>;
2023-06-26 10:07:12 +00:00
};
2024-11-25 09:31:25 +01:00
export default async function Page({ params }: PageProps) {
const { id } = await params;
2023-06-26 10:07:12 +00:00
return <TicketDetail id={id} />;
}