diff --git a/apps/editor/app/client-bootstrap.tsx b/apps/editor/app/client-bootstrap.tsx index 610eac4e..821544fe 100644 --- a/apps/editor/app/client-bootstrap.tsx +++ b/apps/editor/app/client-bootstrap.tsx @@ -11,13 +11,16 @@ import '../lib/bootstrap' import { type ReactNode, useEffect } from 'react' -export function ClientBootstrap({ children }: { children: ReactNode }) { +export function ClientBootstrap({ + children, + enableDevDiagnostics, +}: { + children: ReactNode + enableDevDiagnostics: boolean +}) { useEffect(() => { - if (process.env.NODE_ENV !== 'development') return - // Loaded here (not via a `