diff options
author | 2018-12-09 20:48:25 +0100 | |
---|---|---|
committer | 2018-12-09 20:48:25 +0100 | |
commit | 5d6164973e92fa8a3e3c18a0eb2e29494aea4f48 (patch) | |
tree | 382e6c672bbc0f7582b3b627b02111dcce902894 /src/helpers | |
parent | Add React 16 didCatch/ErrorBoundary component (diff) | |
download | ferdium-app-5d6164973e92fa8a3e3c18a0eb2e29494aea4f48.tar.gz ferdium-app-5d6164973e92fa8a3e3c18a0eb2e29494aea4f48.tar.zst ferdium-app-5d6164973e92fa8a3e3c18a0eb2e29494aea4f48.zip |
Fix linting issues
Diffstat (limited to 'src/helpers')
-rw-r--r-- | src/helpers/i18n-helpers.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/helpers/i18n-helpers.js b/src/helpers/i18n-helpers.js index 026a220e0..091b86b06 100644 --- a/src/helpers/i18n-helpers.js +++ b/src/helpers/i18n-helpers.js | |||
@@ -1,4 +1,6 @@ | |||
1 | export function getLocale({ locale, locales, defaultLocale, fallbackLocale }) { | 1 | export function getLocale({ |
2 | locale, locales, defaultLocale, fallbackLocale, | ||
3 | }) { | ||
2 | let localeStr = locale; | 4 | let localeStr = locale; |
3 | if (locales[locale] === undefined) { | 5 | if (locales[locale] === undefined) { |
4 | let localeFuzzy; | 6 | let localeFuzzy; |