style: ensure function expressions

Replaced all function statements with function expressions.
This commit is contained in:
2026-08-08 15:23:29 +02:00
parent 2520fff771
commit aca681c79f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ export const i18n = createI18n({
const loadedLanguages = new Set();
export async function loadLanguage(locale) {
export const loadLanguage = async function loadLanguage(locale) {
if (!SUPPORTED_LANGUAGES.includes(locale)) {
locale = fallbackLocale;
}