aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrahighi <rahighi>2021-08-29 09:14:35 +0430
committerrahighi <rahighi>2021-08-29 09:14:35 +0430
commit363198118bba28ad3a37e200a7db2ca02bf2eae7 (patch)
tree1e67a921caa5cd35d324148c4396e316019be39f
parent3676fb0033aaabe91a672d9661298559a22d02ca (diff)
downloadtrackermap-web-363198118bba28ad3a37e200a7db2ca02bf2eae7.tar.gz
trackermap-web-363198118bba28ad3a37e200a7db2ca02bf2eae7.tar.bz2
trackermap-web-363198118bba28ad3a37e200a7db2ca02bf2eae7.zip
removed additional export
-rw-r--r--modern/src/common/localization.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/localization.js b/modern/src/common/localization.js
index 7383788d..90a5739a 100644
--- a/modern/src/common/localization.js
+++ b/modern/src/common/localization.js
@@ -112,7 +112,7 @@ const supportedLanguages = {
zh_TW: { data: zh_TW, name: '中文 (Taiwan)' },
};
-export const languageList = Object.entries(supportedLanguages).map((values) => ({ code: values[0], name: values[1].name }));
+const languageList = Object.entries(supportedLanguages).map((values) => ({ code: values[0], name: values[1].name }));
const languages = localStorage.getItem('language') ? [localStorage.getItem('language')] : (window.navigator.languages !== undefined ? window.navigator.languages.slice() : []);
let language = localStorage.getItem('language') || window.navigator.userLanguage || window.navigator.language;
languages.push(language);