Mobile friendly version of ticket view
Refactor the header into own component, so it can be shown at "page top" for the mobile one column view.
This commit is contained in:
parent
047ef094fc
commit
6440c402cf
5 changed files with 107 additions and 34 deletions
12
apps/link/app/(main)/tickets/[id]/@header/page.tsx
Normal file
12
apps/link/app/(main)/tickets/[id]/@header/page.tsx
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { getTicketAction } from "@/app/_actions/tickets";
|
||||
import { TicketHeader } from "../_components/TicketHeader";
|
||||
|
||||
type PageProps = {
|
||||
params: {
|
||||
id: string;
|
||||
};
|
||||
};
|
||||
|
||||
export default function Page({ params: { id } }: PageProps) {
|
||||
return (<TicketHeader id={id} />);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue