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
|
|
@ -9,7 +9,6 @@ import {
|
|||
Title,
|
||||
} from '@patternfly/react-core';
|
||||
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
|
||||
import { useFlag } from '@unleash/proxy-client-react';
|
||||
|
||||
import { Oscap, removeBetaFromRelease } from './Oscap';
|
||||
|
||||
|
|
@ -35,7 +34,10 @@ import {
|
|||
selectComplianceType,
|
||||
clearKernelAppend,
|
||||
} from '../../../../store/wizardSlice';
|
||||
import { useGetEnvironment } from '../../../../Utilities/useGetEnvironment';
|
||||
import {
|
||||
useFlag,
|
||||
useGetEnvironment,
|
||||
} from '../../../../Utilities/useGetEnvironment';
|
||||
|
||||
const OscapStep = () => {
|
||||
const dispatch = useAppDispatch();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue