"use client";
import { Workspace } from './chunk-KDFBN2L2.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-3Z66NXEB.mjs.map
//# sourceMappingURL=chunk-3Z66NXEB.mjs.map