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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
refactor: remove console.logs
Brad Barbin67de1914a442
diff --git a/apps/carbon/app/components/Configurator/ConfiguratorForm/ConfiguratorForm.tsx b/apps/carbon/app/components/Configurator/ConfiguratorForm/ConfiguratorForm.tsxindex 2d96816e47..e4e22b1ee7 100644--- a/apps/carbon/app/components/Configurator/ConfiguratorForm/ConfiguratorForm.tsx+++ b/apps/carbon/app/components/Configurator/ConfiguratorForm/ConfiguratorForm.tsx@@ -20,6 +20,7 @@ import {SelectTrigger,SelectValue,Switch,+ toast,} from "@carbon/react";import { createContext, useContext, useEffect, useMemo, useState } from "react";import { LuChevronDown, LuChevronUp } from "react-icons/lu";@@ -278,18 +279,15 @@ function ConfiguratorFormContent({const handleSubmit = (e: React.FormEvent) => {e.preventDefault();- console.log({- currentStep,- totalSteps,- formData,- isStepValid,- });+if (currentStep === totalSteps - 1) {const schema = generateConfigurationSchema(parameters);const result = schema.safeParse(formData);- console.log({ result });+if (result.success) {onSubmit(result.data);+ } else {+ toast.error("Please fill out all required fields");}} else {nextStep();