Skip to content

Commit

Permalink
redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-smith committed Dec 28, 2024
1 parent 7449bab commit ef136af
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions frontend/src/lib/components/Forms/AutocompleteSelect.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@
const set1 = new Set(arr1);
const set2 = new Set(arr2);
if (set1.size !== set2.size) return false;
for (const value of set1) {
if (!set2.has(value)) return false;
}
Expand Down

0 comments on commit ef136af

Please sign in to comment.