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: remove comments

Rob Carrington38d5603030b1
diff --git a/apps/carbon/app/components/Form/SupplierLocation.tsx b/apps/carbon/app/components/Form/SupplierLocation.tsx
index 4a6338388c..0c3e25ef89 100644
--- a/apps/carbon/app/components/Form/SupplierLocation.tsx
+++ b/apps/carbon/app/components/Form/SupplierLocation.tsx
@@ -76,7 +76,7 @@ const SupplierLocation = (props: SupplierLocationSelectProps) => {
newLocationModal.onClose();
triggerRef.current?.click();
}}
- initialValues={{ name: "" }} // Ask Brad how to avoid this janky solution
+ initialValues={{ name: "" }}
/>
)}
</>
diff --git a/apps/carbon/app/routes/x+/customer+/$customerId.locations.new.tsx b/apps/carbon/app/routes/x+/customer+/$customerId.locations.new.tsx
index 71dd38d31f..d47fa8fc29 100644
--- a/apps/carbon/app/routes/x+/customer+/$customerId.locations.new.tsx
+++ b/apps/carbon/app/routes/x+/customer+/$customerId.locations.new.tsx
@@ -73,7 +73,7 @@ export default function CustomerLocationsNewRoute() {
if (!customerId) throw new Error("customerId not found");
const initialValues = {
- name: "", // Ask Brad how to avoid this janky solution
+ name: "",
};
return (
diff --git a/apps/carbon/app/routes/x+/supplier+/$supplierId.locations.new.tsx b/apps/carbon/app/routes/x+/supplier+/$supplierId.locations.new.tsx
index f25dae254c..6546ee9d3a 100644
--- a/apps/carbon/app/routes/x+/supplier+/$supplierId.locations.new.tsx
+++ b/apps/carbon/app/routes/x+/supplier+/$supplierId.locations.new.tsx
@@ -73,7 +73,7 @@ export default function SupplierLocationsNewRoute() {
if (!supplierId) throw new Error("supplierId not found");
const initialValues = {
- name: "", // Ask Brad how to avoid this janky solution
+ name: "",
};
return (