mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Don't query for undefined.
This commit is contained in:
parent
4ee48acf56
commit
2053cac691
@ -30,7 +30,9 @@ async function startApp (metamaskState, accountManager, opts) {
|
||||
// parse opts
|
||||
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 store = configureStore({
|
||||
|
Loading…
Reference in New Issue
Block a user