From 6fe922d1cf0d1af7d0cd1c95f2a6a19c7b68aed8 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 19 Aug 2024 18:57:25 +0800 Subject: [PATCH] Revert "Fix PHANPY_DEFAULT_LANG not working" This reverts commit b286511f44ef267da00d0e2304bfa5e99dcf3942. --- src/utils/lang.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/lang.js b/src/utils/lang.js index 75a8546e..9bc06e2b 100644 --- a/src/utils/lang.js +++ b/src/utils/lang.js @@ -46,8 +46,8 @@ export function initActivateLang() { const lang = detect( fromUrl('lang'), fromStorage('lang'), - PHANPY_DEFAULT_LANG, fromNavigator(), + PHANPY_DEFAULT_LANG, DEFAULT_LANG, ); const matchedLang = localeMatch(lang, LOCALES);