Skip to content

Commit 14a8ece

Browse files
committed
refactor
1 parent a9ef812 commit 14a8ece

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Wizards/CreateManagedControlPlaneWizardContainer.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import { useTranslation } from 'react-i18next';
3939
import { MetadataForm } from '../Dialogs/MetadataForm.tsx';
4040
import { IllustratedBanner } from '../Ui/IllustratedBanner/IllustratedBanner.tsx';
4141
import { ComponentsSelectionContainer } from '../ComponentsSelection/ComponentsSelectionContainer.tsx';
42+
import { idpPrefix } from '../../utils/idpPrefix.ts';
4243

4344
export type CreateDialogProps = {
4445
name: string;
@@ -69,8 +70,6 @@ const wizardStepOrder: WizardStepType[] = [
6970
'success',
7071
];
7172

72-
const idpPrefix = 'openmcp';
73-
7473
export const CreateManagedControlPlaneWizardContainer: FC<
7574
CreateManagedControlPlaneWizardContainerProps
7675
> = ({ isOpen, setIsOpen, projectName = '', workspaceName = '' }) => {

src/utils/idpPrefix.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const idpPrefix = 'openmcp';

0 commit comments

Comments
 (0)