Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit bd669cd

Browse files
committed
fix: for binary bot unsupported lnguages
1 parent a5e8f99 commit bd669cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/lang.js

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const elements = ['#notification-banner', '#main', '#footer', '#header'];
1111
export const getLanguage = () => {
1212
const queryLang = parseQueryString().l;
1313
const checkIsSupported = queryLang in supportedLanguages;
14+
// eslint-disable-next-line camelcase
1415
const un_supported_languages = ['id', 'tr'];
1516
const checkLanguageNotSupported = () =>
1617
un_supported_languages.includes(queryLang) ? 'en' : getStorage('lang') || 'en';

0 commit comments

Comments
 (0)