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.

chore(env): remove redundant comment for CARBON_SLACK_ENABLED export

naveenkasheb1f1645e200
diff --git a/packages/env/src/index.ts b/packages/env/src/index.ts
index aff8a305db..8aa0bcbe3b 100644
--- a/packages/env/src/index.ts
+++ b/packages/env/src/index.ts
@@ -248,7 +248,6 @@ export const RESEND_DOMAIN =
export const SLACK_BOT_TOKEN = getEnv("SLACK_BOT_TOKEN", {
isRequired: false
});
-// Derived from SLACK_BOT_TOKEN — the token itself never reaches the browser.
export const CARBON_SLACK_ENABLED = isBrowser
? window.env?.CARBON_SLACK_ENABLED === "true"
: Boolean(SLACK_BOT_TOKEN);