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: typecheck

Sidwebworksc1bf96bc858f
diff --git a/packages/documents/src/pdf/components/Note.tsx b/packages/documents/src/pdf/components/Note.tsx
index 0c70fee3dc..40e2756d73 100644
--- a/packages/documents/src/pdf/components/Note.tsx
+++ b/packages/documents/src/pdf/components/Note.tsx
@@ -30,8 +30,7 @@ const convertTiptapJSON = (
fontSize: 13,
fontWeight: "bold",
marginBottom: 10,
- width: "100%",
- overflowWrap: "break-word"
+ width: "100%"
}}
>
{node?.content?.map((child) => convertTiptapJSON(child))}
@@ -45,8 +44,7 @@ const convertTiptapJSON = (
style={{
marginBottom: 10,
fontSize: 9,
- width: "100%",
- overflowWrap: "break-word"
+ width: "100%"
}}
>
{node.content?.map((child) => convertTiptapJSON(child)) || ""}