diff --git a/frontend/src/component/environments/CreateEnvironmentButton/CreateEnvironmentButton.tsx b/frontend/src/component/environments/CreateEnvironmentButton/CreateEnvironmentButton.tsx index d4abf16d1119..aaf692523a34 100644 --- a/frontend/src/component/environments/CreateEnvironmentButton/CreateEnvironmentButton.tsx +++ b/frontend/src/component/environments/CreateEnvironmentButton/CreateEnvironmentButton.tsx @@ -10,7 +10,7 @@ import { useUiFlag } from 'hooks/useUiFlag'; export const CreateEnvironmentButton = () => { const navigate = useNavigate(); - const disabled = useUiFlag('EEA'); + const disabled = !useUiFlag('EEA'); const endIcon = disabled ? (