"use client";
import { Workspace } from './chunk-PCYL4MII.mjs';
import { useLocale } from './chunk-7VJ7CMMT.mjs';
import { jsx } from 'react/jsx-runtime';

function WorkflowCanvasShell({ graph, messages }) {
  const locale = useLocale();
  return /* @__PURE__ */ jsx(
    Workspace,
    {
      initialGraph: graph,
      locale,
      ...messages ? { messages } : {}
    }
  );
}

export { WorkflowCanvasShell };
//# sourceMappingURL=chunk-GIQXB3BG.mjs.map
//# sourceMappingURL=chunk-GIQXB3BG.mjs.map