Skip to content

Commit

Permalink
typo change
Browse files Browse the repository at this point in the history
  • Loading branch information
JihengLi committed Apr 9, 2024
1 parent 0cc219b commit 878f0b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/judges/TeamSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const optionComparator = (input: string, option: string) => {
const cin = input.toLowerCase();
const opt = option.toLowerCase();
for (let i = 0; i < opt.length; ++i) {
if (opt[i] === cin[searchPosition]) searchPosition++;
if (opt[i] === cin[searchPosition]) ++searchPosition;
else break;
}
return searchPosition === input.length;
Expand Down

0 comments on commit 878f0b2

Please sign in to comment.