This commit is contained in:
Untone 2024-07-05 16:37:13 +03:00
parent a767ce7fd1
commit 546d1bd743

View File

@ -87,7 +87,7 @@ export const LocalizeProvider = (props: { children: JSX.Element }) => {
try {
return i18next.t(...args)
} catch (_) {
return args?.length > 0 ? (args[0] as string) : ''
return args?.length > 0 ? args[0] as string : ''
}
}) as i18n['t'],
lang,