fix: fix translations not loading

This commit is contained in:
Stavros
2025-12-17 23:36:01 +02:00
parent 7857dba57a
commit 0374370b0c

View File

@@ -2,7 +2,6 @@ import i18n from "i18next";
import { initReactI18next } from "react-i18next";
import LanguageDetector from "i18next-browser-languagedetector";
import resourcesToBackend from "i18next-resources-to-backend";
import { languages } from "./locales";
i18n
.use(LanguageDetector)
@@ -16,7 +15,6 @@ i18n
fallbackLng: "en",
debug: import.meta.env.MODE === "development",
nonExplicitSupportedLngs: true,
supportedLngs: Object.keys(languages),
load: "currentOnly",
detection: {
lookupLocalStorage: "tinyauth-lang",