ammended comment

This commit is contained in:
reece 2019-10-23 13:01:49 +01:00 committed by Sean Yesmunt
parent 0caac8e402
commit b5c7722cb3

View file

@ -62,7 +62,7 @@ export default function TagsSearch(props: Props) {
setNewTag('');
// Split into individual tags, normalize the tags, and remove duplicates with sets.
// Split into individual tags, normalize the tags, and remove duplicates with a set.
tags = [...new Set(tags.split(',').map(newTag => newTag.trim().toLowerCase()))];
tags.forEach(tag => {
if (onSelect) {