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.

feat: remove [email protected] from isInternal FF

Brad Barbin60136386ea49
diff --git a/apps/erp/app/hooks/useFlags.tsx b/apps/erp/app/hooks/useFlags.tsx
index cdff2b833d..ba1862587c 100644
--- a/apps/erp/app/hooks/useFlags.tsx
+++ b/apps/erp/app/hooks/useFlags.tsx
@@ -2,11 +2,9 @@ import { useUser } from "./useUser";
export function useFlags() {
const user = useUser();
- const isInternal = [
- "carbon.us.org",
- "carbonos.dev",
- ].some((email) => user.email.includes(email));
+ const isInternal = ["carbon.us.org", "carbonos.dev"].some((email) =>
+ user.email.includes(email)
+ );
return {
isInternal,