Skip to content

Commit

Permalink
update to use temp lang id
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabau committed Nov 13, 2023
1 parent 5fa7c9c commit c4396e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/maintainer/environments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ const CreateEnvironment = () => {

useEffect(() => {
if (useQuestionObject.environment
&& useQuestionObject.environment.languageId === formData.languageId) {
&& useQuestionObject.environment.languageId === tempLangID) {
setFormData({
...useQuestionObject.environment,
});
Expand Down

0 comments on commit c4396e9

Please sign in to comment.