1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-05 17:53:12 +02:00

fix: invert logic (#8135) (#8136)

Cherry pick the fix from #8135
This commit is contained in:
Fredrik Strand Oseberg 2024-09-11 18:26:08 +02:00 committed by GitHub
parent 36e780bdb9
commit 576756f60a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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