diff --git a/src/pages/maintainer/environments.tsx b/src/pages/maintainer/environments.tsx index 51daef8..05d3d03 100644 --- a/src/pages/maintainer/environments.tsx +++ b/src/pages/maintainer/environments.tsx @@ -171,7 +171,7 @@ const CreateEnvironment = () => { useEffect(() => { if (useQuestionObject.environment - && useQuestionObject.environment.languageId === formData.languageId) { + && useQuestionObject.environment.languageId === tempLangID) { setFormData({ ...useQuestionObject.environment, });