Skip to content

Commit 613e729

Browse files
committed
Update CreateManagedControlPlaneWizardContainer.tsx
1 parent d709629 commit 613e729

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Wizards/CreateManagedControlPlaneWizardContainer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export const CreateManagedControlPlaneWizardContainer: FC<
257257
}
258258
}, [selectedStep]);
259259

260-
return (
260+
return isOpen ? (
261261
<Dialog
262262
stretch
263263
headerText={t('createMCP.dialogTitle') || 'Create Managed Control Plane'}
@@ -413,5 +413,5 @@ export const CreateManagedControlPlaneWizardContainer: FC<
413413
</WizardStep>
414414
</Wizard>
415415
</Dialog>
416-
);
416+
) : null;
417417
};

0 commit comments

Comments
 (0)