Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

987 B
Raw Blame
// SPDX-License-Identifier: AGPL-3.0-only
// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
// including ports, remain AGPLv3; serving them over a network requires releasing their source.

import { RecordOutlet } from "@carbon/react";
import type { MetaFunction } from "react-router";

import type { Handle } from "~/utils/handle";

export { RouteErrorBoundary as ErrorBoundary } from "@carbon/react/ErrorBoundary";

export const meta: MetaFunction = () => {
  return [{ title: "Carbon | Workflow" }];
};

// No breadcrumb here: the detail route ($id.tsx) already emits the "Workflows"
// list link via detailBreadcrumb, so declaring it on the layout too would render
// "Workflows" twice. `module` is kept for navigation highlighting / recently-viewed.
export const handle: Handle = {
  module: "workflows"
};

export default function WorkflowRoute() {
  return (
    <div className="h-full w-full bg-background">
      <RecordOutlet />
    </div>
  );
}