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: fix types in theme
Brad Barbin5b6cb66978f6
diff --git a/apps/carbon/app/routes/onboarding+/theme.tsx b/apps/carbon/app/routes/onboarding+/theme.tsxindex 5573406e98..8512677412 100644--- a/apps/carbon/app/routes/onboarding+/theme.tsx+++ b/apps/carbon/app/routes/onboarding+/theme.tsx@@ -78,7 +78,7 @@ export async function action({ request }: ActionFunctionArgs) {export default function OnboardingTheme() {const { theme: initialTheme } = useLoaderData<typeof loader>();- const [theme, setTheme] = useState<ThemeValue>(initialTheme);+ const [theme, setTheme] = useState<ThemeValue>(initialTheme as "zinc");const mode = useMode();const onThemeChange = (t: Theme) => {@@ -106,7 +106,7 @@ export default function OnboardingTheme() {<ValidatedFormmethod="post"validator={themeValidator}- defaultValues={{ theme: initialTheme }}+ defaultValues={{ theme: initialTheme as "zinc" }}><CardHeader><CardTitle>Choose your style</CardTitle>