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.

fix: missing import

Brad Barbin726bf844b551
diff --git a/apps/carbon/app/routes/x+/receipt+/$receiptId.notes.tsx b/apps/carbon/app/routes/x+/receipt+/$receiptId.notes.tsx
index 2744e0f49d..414e5b9c44 100644
--- a/apps/carbon/app/routes/x+/receipt+/$receiptId.notes.tsx
+++ b/apps/carbon/app/routes/x+/receipt+/$receiptId.notes.tsx
@@ -1,8 +1,8 @@
import { Card, CardContent, CardHeader, CardTitle } from "@carbon/react";
import { useParams } from "@remix-run/react";
+import { RichText } from "~/components";
import { useRouteData } from "~/hooks";
import type { Note } from "~/modules/shared";
-import { Notes } from "~/modules/shared";
import { path } from "~/utils/path";
export default function ReceiptNotesRoute() {
@@ -16,7 +16,7 @@ export default function ReceiptNotesRoute() {
<CardTitle>Notes</CardTitle>
</CardHeader>
<CardContent>
- <Notes documentId={receiptId} notes={routeData?.notes ?? []} />
+ <RichText documentId={receiptId} notes={routeData?.notes ?? []} />
</CardContent>
</Card>
);