diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/GUIView.component.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/GUIView.component.tsx index 64db1434dd..e6d5107156 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/GUIView.component.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/GUIView.component.tsx @@ -26,7 +26,6 @@ import { HIDE_SUBMIT_BUTTON_UI_SCHEMA, OverrideMergeStrategyType, GUIViewError, - YAMLStringify, ToastManager, ToastVariantType, } from '@devtron-labs/devtron-fe-common-lib' @@ -92,16 +91,6 @@ const GUIView = ({ } }, [value, guiSchema]) - useEffect( - () => () => { - if (modelRef.current) { - const newData = modelRef.current.syncCheckedFieldsInJson(formDataRef.current) - editorOnChange(newData ? YAMLStringify(newData, { simpleKeys: true }) : '') - } - }, - [], - ) - const state: GUIViewState = useMemo(() => { if (invalidGUISchemaError) { return { error: invalidGUISchemaError } as GUIViewState