@@ -31,7 +31,6 @@ import {
31
31
InfraEnv ,
32
32
ManagedDomain ,
33
33
} from '@openshift-assisted/types/assisted-installer-service' ;
34
- import { useFeature } from '../../hooks/use-feature' ;
35
34
36
35
type ClusterDetailsFormProps = {
37
36
cluster ?: Cluster ;
@@ -65,7 +64,6 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
65
64
} = props ;
66
65
67
66
const clusterWizardContext = useClusterWizardContext ( ) ;
68
- const isSingleCluster = useFeature ( 'ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE' ) ;
69
67
const { search } = useLocation ( ) ;
70
68
const { isViewerMode } = useSelector ( selectCurrentClusterPermissionsState ) ;
71
69
const { clearAlerts } = useAlerts ( ) ;
@@ -85,11 +83,11 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
85
83
const params = ClusterDetailsService . getClusterUpdateParams ( values , resetPlatform ) ;
86
84
await handleClusterUpdate ( cluster . id , params , values . addCustomManifest ) ;
87
85
} else {
88
- const params = ClusterDetailsService . getClusterCreateParams ( values , isSingleCluster ) ;
86
+ const params = ClusterDetailsService . getClusterCreateParams ( values ) ;
89
87
await handleClusterCreate ( params , values . addCustomManifest ) ;
90
88
}
91
89
} ,
92
- [ cluster , handleClusterCreate , handleClusterUpdate , isSingleCluster ] ,
90
+ [ cluster , handleClusterCreate , handleClusterUpdate ] ,
93
91
) ;
94
92
95
93
const handleOnNext = React . useCallback (
0 commit comments