Skip to content

Commit

Permalink
Fix #853
Browse files Browse the repository at this point in the history
  • Loading branch information
WandererXII committed Aug 8, 2024
1 parent 679201c commit 8bf8cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/keyboardMove/src/plugins/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function regexMatchAllSquares(str: string): Square[] {
let match;
while ((match = keyR.exec(str)) !== null) {
const sq = toSquare(match[0]);
if (sq) matches.push(sq);
if (sq !== undefined) matches.push(sq);
}
return matches;
}
Expand Down

0 comments on commit 8bf8cc4

Please sign in to comment.