aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2018-02-27 06:16:33 +0800
committerGitHub <noreply@github.com>2018-02-27 06:16:33 +0800
commitc789bf1842acc6603da0db680052962713d46ac1 (patch)
tree90c0c0e49be8a7dcf5a98d444f27f65d3127fa1f
parenteed75735b8e90d121537249cf147c1ece60f1e47 (diff)
parentb24d949ca44a2a0a8414625ebd58a6882a3fd81c (diff)
downloadtangerine-wallet-browser-c789bf1842acc6603da0db680052962713d46ac1.tar.gz
tangerine-wallet-browser-c789bf1842acc6603da0db680052962713d46ac1.tar.zst
tangerine-wallet-browser-c789bf1842acc6603da0db680052962713d46ac1.zip
Merge pull request #3324 from MetaMask/fix-feature-flags
fix feature flags being undefined
-rw-r--r--ui/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/index.js b/ui/index.js
index bc3676c1f..fdb2f23e0 100644
--- a/ui/index.js
+++ b/ui/index.js
@@ -25,6 +25,7 @@ function launchMetamaskUi (opts, cb) {
function startApp (metamaskState, accountManager, opts) {
// parse opts
+ if (!metamaskState.featureFlags) metamaskState.featureFlags = {}
const store = configureStore({
// metamaskState represents the cross-tab state