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.

revert: unlock self-signup

Brad Barbin11e051d08653
diff --git a/apps/erp/app/routes/onboarding+/plan.tsx b/apps/erp/app/routes/onboarding+/plan.tsx
index fa53d28826..cee8acab21 100644
--- a/apps/erp/app/routes/onboarding+/plan.tsx
+++ b/apps/erp/app/routes/onboarding+/plan.tsx
@@ -9,8 +9,6 @@ import {
CardHeader,
CardTitle,
IconButton,
- toast,
- useMount,
VStack,
} from "@carbon/react";
import { getCheckoutUrl } from "@carbon/stripe/stripe.server";
@@ -125,11 +123,6 @@ export default function OnboardingPlan() {
);
const fetcher = useFetcher<typeof action>();
- useMount(() => {
- toast.error(
- "Self-signup is temporarily disabled. Please check back in an hour."
- );
- });
return (
<>
@@ -191,7 +184,7 @@ export default function OnboardingPlan() {
className="w-full"
variant="primary"
type="submit"
- isDisabled={true || fetcher.state !== "idle"}
+ isDisabled={fetcher.state !== "idle"}
isLoading={
fetcher.state !== "idle" &&
fetcher.formData?.get("planId") === plan.id