Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

build: force vercel build

Brad Barbine2ed5c2e8461
diff --git a/apps/mes/app/components/OptionallyFullscreen.tsx b/apps/mes/app/components/OptionallyFullscreen.tsx
index e4a937f7c2..3076be562b 100644
--- a/apps/mes/app/components/OptionallyFullscreen.tsx
+++ b/apps/mes/app/components/OptionallyFullscreen.tsx
@@ -4,18 +4,19 @@ import {
ResizableHandle,
ResizablePanel,
} from "@carbon/react";
-import type { ReactNode } from "react";
+import type { PropsWithChildren } from "react";
import { defaultLayout } from "~/utils/layout";
+interface OptionallyFullscreenProps {
+ isFullScreen: boolean;
+ onClose: () => void;
+}
+
export const OptionallyFullscreen = ({
children,
isFullScreen,
onClose,
-}: {
- children: ReactNode;
- isFullScreen: boolean;
- onClose: () => void;
-}) => {
+}: PropsWithChildren<OptionallyFullscreenProps>) => {
return (
<>
<ResizableHandle withHandle />