aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2018-02-27 02:55:30 +0800
committerfrankiebee <frankie.diamond@gmail.com>2018-02-27 02:55:30 +0800
commitb24d949ca44a2a0a8414625ebd58a6882a3fd81c (patch)
tree90c0c0e49be8a7dcf5a98d444f27f65d3127fa1f
parenteed75735b8e90d121537249cf147c1ece60f1e47 (diff)
downloadtangerine-wallet-browser-b24d949ca44a2a0a8414625ebd58a6882a3fd81c.tar
tangerine-wallet-browser-b24d949ca44a2a0a8414625ebd58a6882a3fd81c.tar.gz
tangerine-wallet-browser-b24d949ca44a2a0a8414625ebd58a6882a3fd81c.tar.bz2
tangerine-wallet-browser-b24d949ca44a2a0a8414625ebd58a6882a3fd81c.tar.lz
tangerine-wallet-browser-b24d949ca44a2a0a8414625ebd58a6882a3fd81c.tar.xz
tangerine-wallet-browser-b24d949ca44a2a0a8414625ebd58a6882a3fd81c.tar.zst
tangerine-wallet-browser-b24d949ca44a2a0a8414625ebd58a6882a3fd81c.zip
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