multi: on-prem can't use the unleash flag
Switch the useFlag usage to the stub function defined in the `useGetEnvironment` utility
This commit is contained in:
parent
34368c4f84
commit
aef3f4a3e4
5 changed files with 8 additions and 6 deletions
|
|
@ -12,7 +12,6 @@ import {
|
|||
Tile,
|
||||
} from '@patternfly/react-core';
|
||||
import { HelpIcon } from '@patternfly/react-icons';
|
||||
import { useFlag } from '@unleash/proxy-client-react';
|
||||
|
||||
import { useAppSelector, useAppDispatch } from '../../../../store/hooks';
|
||||
import {
|
||||
|
|
@ -31,6 +30,7 @@ import {
|
|||
selectDistribution,
|
||||
selectImageTypes,
|
||||
} from '../../../../store/wizardSlice';
|
||||
import { useFlag } from '../../../../Utilities/useGetEnvironment';
|
||||
|
||||
const TargetEnvironment = () => {
|
||||
const arch = useAppSelector(selectArchitecture);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue