mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-27 00:04:37 +08:00
fix(lazy mode): not working for arabic accents
This commit is contained in:
parent
22373a751f
commit
1c8b5ffc82
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ export function replaceAccents(
|
|||
const isUpperCase = cases[i];
|
||||
const accent = findAccent(char, additionalAccents);
|
||||
|
||||
if (accent) {
|
||||
if (accent !== undefined) {
|
||||
if (isUpperCase) {
|
||||
newWordArray.push(accent.substring(0, 1).toUpperCase());
|
||||
newWordArray.push(accent.substring(1));
|
||||
|
|
Loading…
Reference in a new issue