1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge branch 'i18n-translator-redux' of github.com:MetaMask/metamask-extension into i18n-translator-redux

This commit is contained in:
kumavis 2018-03-27 17:17:26 -07:00
commit b26788e9d4

View File

@ -30,7 +30,9 @@ async function startApp (metamaskState, accountManager, opts) {
// parse opts // parse opts
if (!metamaskState.featureFlags) metamaskState.featureFlags = {} if (!metamaskState.featureFlags) metamaskState.featureFlags = {}
const currentLocaleMessages = await fetchLocale(metamaskState.currentLocale) const currentLocaleMessages = metamaskState.currentLocale
? await fetchLocale(metamaskState.currentLocale)
: {}
const enLocaleMessages = await fetchLocale('en') const enLocaleMessages = await fetchLocale('en')
const store = configureStore({ const store = configureStore({