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.

refactor: remove console.logs

Brad Barbin290685fce201
diff --git a/packages/form/src/components/Submit.tsx b/packages/form/src/components/Submit.tsx
index d9c5b9714a..ecfea6d6e5 100644
--- a/packages/form/src/components/Submit.tsx
+++ b/packages/form/src/components/Submit.tsx
@@ -23,8 +23,6 @@ export const Submit = forwardRef<HTMLButtonElement, SubmitProps>(
const formState = useFormState(formId);
const isTouched = Object.keys(formState.touchedFields).length > 0;
- console.log({ formState });
-
const blocker = useBlocker(
({ currentLocation, nextLocation }) =>
isTouched && currentLocation.pathname !== nextLocation.pathname