Fix redundant secondary term lookups (#1942)

This commit is contained in:
toasted-nutbread 2021-09-09 23:29:41 -04:00 committed by GitHub
parent 7883d39496
commit dfddf3792e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -433,10 +433,10 @@ class Translator {
groups: [] groups: []
}; };
targetMap.set(key, target); targetMap.set(key, target);
termList.push({term, reading});
targetList.push(target);
} }
target.groups.push(group); target.groups.push(group);
termList.push({term, reading});
targetList.push(target);
} }
} }