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