From 1c8b5ffc82efc97cad219e4294a00692db705995 Mon Sep 17 00:00:00 2001 From: Miodec Date: Thu, 11 Jan 2024 23:08:10 +0100 Subject: [PATCH] fix(lazy mode): not working for arabic accents --- frontend/src/ts/test/lazy-mode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/test/lazy-mode.ts b/frontend/src/ts/test/lazy-mode.ts index d9c2aff26..f67e69c17 100644 --- a/frontend/src/ts/test/lazy-mode.ts +++ b/frontend/src/ts/test/lazy-mode.ts @@ -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));