chore(client/ts): fix errors in i18n

This commit is contained in:
Elian Doran 2024-12-19 20:52:43 +02:00
parent 924453cb6f
commit 1548b2e3e4
No known key found for this signature in database

View File

@ -4,7 +4,7 @@ import options from "./options.js";
await library_loader.requireLibrary(library_loader.I18NEXT);
export async function initLocale() {
const locale = options.get("locale") || "en";
const locale = (options.get("locale") as string) || "en";
await i18next
.use(i18nextHttpBackend)