Skip to content

Commit e8d8174

Browse files
committed
fixup! feat(pci-kubernetes): enable region enabling on cluster
1 parent 25f7bcc commit e8d8174

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/manager/apps/pci-kubernetes/src/pages/new/steps/LocationStep.component.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export function LocationStep({
9595
if (!step.isLocked) {
9696
clearNotifications();
9797
}
98+
return clearNotifications;
9899
}, [clearNotifications, step.isLocked]);
99100

100101
const { isPending, mutate: addRegion } = useAddProjectRegion({

packages/manager/apps/pci-kubernetes/src/pages/new/steps/stepsConfig.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { NetworkStep } from './NetworkStep.component';
88
import NodePoolStep from './NodePoolStep.component';
99
import PlanStep from './PlanStep.component';
1010
import { VersionAndUpdatePolicyStep } from './VersionAndUpdatePolicyStep.component';
11+
import Loader from './Loader';
1112

1213
type StepComponentProps = Record<string, unknown>;
1314

@@ -29,8 +30,6 @@ const stepsConfig = ({
2930
createNewCluster: () => void;
3031
projectId?: string;
3132
are3AZRegions?: boolean;
32-
addRegion: (region: string) => void;
33-
isPending: boolean;
3433
}): StepConfig[] => [
3534
{
3635
key: 'clusterName',

0 commit comments

Comments
 (0)