Skip to content

Commit 15f477c

Browse files
author
Mukul Tayal
committed
PR comments
1 parent 42b7097 commit 15f477c

File tree

4 files changed

+1
-5
lines changed

4 files changed

+1
-5
lines changed

src/components/EnvironmentOverride/DeploymentTemplateOverrideForm.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,6 @@ export default function DeploymentTemplateOverrideForm({
637637
lockedConfigKeysWithLockType={lockedConfigKeysWithLockType}
638638
hideLockKeysToggled={hideLockKeysToggled}
639639
removedPatches={removedPatches}
640-
selectedTabIndex={state.selectedTabIndex}
641640
/>
642641
)
643642
}

src/components/deploymentConfig/DeploymentConfig.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,6 @@ export default function DeploymentConfig({
911911
lockedConfigKeysWithLockType={lockedConfigKeysWithLockType}
912912
hideLockKeysToggled={hideLockKeysToggled}
913913
removedPatches={removedPatches}
914-
selectedTabIndex={state.selectedTabIndex}
915914
/>
916915
)
917916
}

src/components/deploymentConfig/DeploymentTemplateView/DeploymentTemplateEditorView.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ const getLockFilteredTemplate = importComponentFromFELibrary('getLockFilteredTem
4444
lockedConfigKeysWithLockType,
4545
hideLockKeysToggled,
4646
removedPatches,
47-
selectedTabIndex
4847
}: DeploymentTemplateEditorViewProps) =>{
4948

5049
const { appId, envId } = useParams<{ appId: string; envId: string }>()
@@ -279,7 +278,7 @@ const getLockFilteredTemplate = importComponentFromFELibrary('getLockFilteredTem
279278

280279
useEffect(() => {
281280
editorOnChange(rhs)
282-
},[selectedTabIndex])
281+
}, [state.selectedTabIndex])
283282

284283
useEffect(() => {
285284
if (!convertVariables) return

src/components/deploymentConfig/types.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ export interface DeploymentTemplateEditorViewProps {
227227
lockedConfigKeysWithLockType: ConfigKeysWithLockType
228228
hideLockKeysToggled: React.MutableRefObject<boolean>
229229
removedPatches:React.MutableRefObject<jsonpatch.Operation[]>
230-
selectedTabIndex: number
231230
}
232231

233232
export interface DeploymentConfigContextType {

0 commit comments

Comments
 (0)