diff --git a/web/src/components/carbon.tsx b/web/src/components/carbon.tsx index 4de6a404..1d7da3dd 100644 --- a/web/src/components/carbon.tsx +++ b/web/src/components/carbon.tsx @@ -1,5 +1,9 @@ import { useEffect, useRef } from "react" export function Carbon() { + if (process.env.NODE_ENV === "development") { + return null + } + useEffect(() => { const serve = "CW7IKKQM" const placement = "dashboardiconscom" @@ -11,9 +15,6 @@ export function Carbon() { }, []) const ref = useRef(null!) - if (process.env.NODE_ENV === "development") { - return null - } return ( <>