Skip to content

Commit

Permalink
Merge branch 'stagingcandidate' of https://github.com/m2ms/fragalysis…
Browse files Browse the repository at this point in the history
…-frontend into stagingcandidate
  • Loading branch information
boriskovar-m2ms committed May 31, 2024
2 parents 53e2e1c + 5af52a6 commit 634fd8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/components/preview/tags/modal/editTagsModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const EditTagsModal = ({ open, anchorEl, setOpenDialog }) => {
});
setTags([NEW_TAG, ...newTagList].sort(compareTagsAsc));
return () => {
setTag(NEW_TAG);
setTag(null);
setTags([NEW_TAG]);
};
}, [preTagList, tagCategories]);
Expand Down

0 comments on commit 634fd8d

Please sign in to comment.