diff --git a/frontend/src/i18n/index.ts b/frontend/src/i18n/index.ts index 68221d97..c5127f47 100644 --- a/frontend/src/i18n/index.ts +++ b/frontend/src/i18n/index.ts @@ -137,7 +137,9 @@ export const i18n = createI18n({ }); export const isRtl = (locale?: string) => { - return rtlLanguages.includes(locale || i18n.global.locale); + // see below + // @ts-ignore + return rtlLanguages.includes(locale || i18n.global.locale.value); }; export function setLocale(locale: string) {