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