diff --git a/packages/start/src/shared/dev-overlay/index.tsx b/packages/start/src/shared/dev-overlay/index.tsx index addc7184b..413b09a39 100644 --- a/packages/start/src/shared/dev-overlay/index.tsx +++ b/packages/start/src/shared/dev-overlay/index.tsx @@ -16,7 +16,7 @@ export interface DevOverlayProps { } const DevOverlayDialog = - /* #__PURE__ */ process.env.NODE_ENV === "production" + /* #__PURE__ */ process.env.NODE_ENV === "production" && !import.meta.env.START_DEV_OVERLAY ? () => { return <>; }