Skip to content

Commit a9ef812

Browse files
committed
fixes
1 parent 721ce2a commit a9ef812

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/components/ComponentsSelection/ComponentsSelectionContainer.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
import React, { useEffect, useState } from 'react';
2-
import {
3-
ComponentSelectionItem,
4-
ComponentsSelection,
5-
} from './ComponentsSelection.tsx';
2+
import { ComponentsSelection } from './ComponentsSelection.tsx';
63

74
import IllustratedError from '../Shared/IllustratedError.tsx';
85
import { sortVersions } from '../../utils/componentsVersions.ts';
96

107
import { ListManagedComponents } from '../../lib/api/types/crate/listManagedComponents.ts';
118
import useApiResource from '../../lib/api/useApiResource.ts';
129
import Loading from '../Shared/Loading.tsx';
10+
import { ComponentSelectionItem } from '../../lib/api/types/crate/createManagedControlPlane.ts';
1311

1412
export interface ComponentItem {
1513
name: string;

src/components/Wizards/CreateManagedControlPlaneWizardContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import YamlViewer from '../Yaml/YamlViewer.tsx';
2727
import { stringify } from 'yaml';
2828
import { APIError } from '../../lib/api/error.ts';
2929
import {
30+
ComponentSelectionItem,
3031
CreateManagedControlPlane,
3132
CreateManagedControlPlaneResource,
3233
CreateManagedControlPlaneType,
@@ -38,7 +39,6 @@ import { useTranslation } from 'react-i18next';
3839
import { MetadataForm } from '../Dialogs/MetadataForm.tsx';
3940
import { IllustratedBanner } from '../Ui/IllustratedBanner/IllustratedBanner.tsx';
4041
import { ComponentsSelectionContainer } from '../ComponentsSelection/ComponentsSelectionContainer.tsx';
41-
import { ComponentSelectionItem } from '../ComponentsSelection/ComponentsSelection.tsx';
4242

4343
export type CreateDialogProps = {
4444
name: string;

0 commit comments

Comments
 (0)