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

14 lines
248 B
TypeScript
Raw Normal View History

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