TicketEdit updates

This commit is contained in:
Darren Clarke 2023-03-22 11:55:14 +00:00
parent dd9a5d4bec
commit d7f8c87ccb
2 changed files with 56 additions and 46 deletions

View file

@ -6,6 +6,7 @@ import { NextPage } from "next";
import { Grid } from "@mui/material";
import { Layout } from "components/Layout";
import { TicketDetail } from "components/TicketDetail";
import { TicketEdit } from "components/TicketEdit";
type TicketProps = {
id: string;
@ -89,12 +90,12 @@ const Ticket: NextPage<TicketProps> = ({ id }) => {
</Head>
{shouldRender && (
<Grid container spacing={0} sx={{ height: "100vh" }} direction="row">
<Grid item sx={{ height: "100vh" }} xs={12}>
<Grid item sx={{ height: "100vh" }} xs={9}>
<TicketDetail ticket={ticketData.ticket} />
</Grid>
{/*<Grid item xs={0} sx={{ height: "100vh" }}>
<Grid item xs={3} sx={{ height: "100vh" }}>
<TicketEdit ticket={ticketData.ticket} />
</Grid>*/}
</Grid>
</Grid>
)}
{ticketError && <div>{ticketError.toString()}</div>}