Update dependencies

This commit is contained in:
Darren Clarke 2024-11-25 09:31:25 +01:00
parent 48aa89f7cf
commit 7ad25e8a95
49 changed files with 2116 additions and 1699 deletions

View file

@ -1,11 +1,13 @@
import { TicketDetail } from "./_components/TicketDetail";
type PageProps = {
params: {
params: Promise<{
id: string;
};
}>;
};
export default function Page({ params: { id } }: PageProps) {
export default async function Page({ params }: PageProps) {
const { id } = await params;
return <TicketDetail id={id} />;
}

View file

@ -1,11 +1,13 @@
import { TicketEdit } from "./_components/TicketEdit";
type PageProps = {
params: {
params: Promise<{
id: string;
};
}>;
};
export default function Page({ params: { id } }: PageProps) {
export default async function Page({ params }: PageProps) {
const { id } = await params;
return <TicketEdit id={id} />;
}