Skip to content

Commit

Permalink
fix: invert logic (#8135) (#8136)
Browse files Browse the repository at this point in the history
Cherry pick the fix from #8135
  • Loading branch information
FredrikOseberg authored Sep 11, 2024
1 parent 36e780b commit 576756f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ? (
<ThemeMode
Expand Down

0 comments on commit 576756f

Please sign in to comment.