diff --git a/src/client/components/monitor/StatusPage/index.tsx b/src/client/components/monitor/StatusPage/index.tsx index 050217f..5682727 100644 --- a/src/client/components/monitor/StatusPage/index.tsx +++ b/src/client/components/monitor/StatusPage/index.tsx @@ -21,16 +21,18 @@ import { SheetHeader, SheetTrigger, } from '@/components/ui/sheet'; +import { cn } from '@/utils/style'; interface MonitorStatusPageProps { slug: string; showBackBtn?: boolean; + fullWidth?: boolean; } export const MonitorStatusPage: React.FC = React.memo( (props) => { const { t } = useTranslation(); - const { slug, showBackBtn = true } = props; + const { slug, showBackBtn = true, fullWidth } = props; const { data: info } = trpc.monitor.getPageInfo.useQuery({ slug, @@ -120,8 +122,9 @@ export const MonitorStatusPage: React.FC = React.memo(
diff --git a/src/client/routes/page/$slug.tsx b/src/client/routes/page/$slug.tsx index 62c5689..da728d3 100644 --- a/src/client/routes/page/$slug.tsx +++ b/src/client/routes/page/$slug.tsx @@ -86,7 +86,7 @@ function PageComponent() { /> } > - + ); }