Skip to content

Commit

Permalink
Remove loading state added
Browse files Browse the repository at this point in the history
  • Loading branch information
mjac0bs committed Dec 9, 2024
1 parent ed7f53e commit 1313bd7
Showing 1 changed file with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,11 @@ export const CreateCluster = () => {
const {
data: _versionData,
isError: versionLoadError,
isLoading: versionLoading,
} = useKubernetesVersionQuery();

const {
data: enterpriseTierVersionData,
isLoading: enterpriseTierVersionDataIsLoading,
} = useKubernetesTieredVersionsQuery('enterprise');
const { data: enterpriseTierVersionData } = useKubernetesTieredVersionsQuery(
'enterprise'
);

const {
isLkeEnterpriseLAFeatureEnabled,
Expand Down Expand Up @@ -383,11 +381,6 @@ export const CreateCluster = () => {
</StyledFieldWithDocsStack>
<Divider sx={{ marginTop: 4 }} />
<Autocomplete
loading={
versionLoading ||
(isLkeEnterpriseLAFeatureEnabled &&
enterpriseTierVersionDataIsLoading)
}
onChange={(_, selected) => {
setVersion(selected?.value);
}}
Expand Down

0 comments on commit 1313bd7

Please sign in to comment.