aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-09-13 12:30:04 +0800
committerkumavis <aaron@kumavis.me>2016-09-13 12:30:04 +0800
commit8a5007a396cff02b15fb85c3ed910e14cf71d59c (patch)
tree5b6c6afdbb4f2c4cc9375034d35fd9a6f6940d59 /ui
parent5126ddaf0c25d243c625adff82dc95273acf1291 (diff)
downloadtangerine-wallet-browser-8a5007a396cff02b15fb85c3ed910e14cf71d59c.tar
tangerine-wallet-browser-8a5007a396cff02b15fb85c3ed910e14cf71d59c.tar.gz
tangerine-wallet-browser-8a5007a396cff02b15fb85c3ed910e14cf71d59c.tar.bz2
tangerine-wallet-browser-8a5007a396cff02b15fb85c3ed910e14cf71d59c.tar.lz
tangerine-wallet-browser-8a5007a396cff02b15fb85c3ed910e14cf71d59c.tar.xz
tangerine-wallet-browser-8a5007a396cff02b15fb85c3ed910e14cf71d59c.tar.zst
tangerine-wallet-browser-8a5007a396cff02b15fb85c3ed910e14cf71d59c.zip
ui - remove unused currentDomain prop
Diffstat (limited to 'ui')
-rw-r--r--ui/app/accounts/index.js1
-rw-r--r--ui/app/reducers/app.js1
-rw-r--r--ui/app/reducers/metamask.js1
-rw-r--r--ui/index.js4
4 files changed, 1 insertions, 6 deletions
diff --git a/ui/app/accounts/index.js b/ui/app/accounts/index.js
index c20900c1e..3af8267b5 100644
--- a/ui/app/accounts/index.js
+++ b/ui/app/accounts/index.js
@@ -20,7 +20,6 @@ function mapStateToProps (state) {
identities: state.metamask.identities,
unconfTxs: state.metamask.unconfTxs,
selectedAddress: state.metamask.selectedAddress,
- currentDomain: state.appState.currentDomain,
scrollToBottom: state.appState.scrollToBottom,
pending,
}
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index a6cd9ca1b..c39d89a4d 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -39,7 +39,6 @@ function reduceApp (state, action) {
accountDetail: {
subview: 'transactions',
},
- currentDomain: 'example.com',
transForward: true, // Used to render transition direction
isLoading: false, // Used to display loading indicator
warning: null, // Used to display error text
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js
index 7f18480cb..84953d734 100644
--- a/ui/app/reducers/metamask.js
+++ b/ui/app/reducers/metamask.js
@@ -11,7 +11,6 @@ function reduceMetamask (state, action) {
isInitialized: false,
isUnlocked: false,
isEthConfirmed: false,
- currentDomain: 'example.com',
rpcTarget: 'https://rawtestrpc.metamask.io/',
identities: {},
unconfTxs: {},
diff --git a/ui/index.js b/ui/index.js
index 0e69b00d6..a6905b639 100644
--- a/ui/index.js
+++ b/ui/index.js
@@ -25,9 +25,7 @@ function startApp (metamaskState, accountManager, opts) {
metamask: metamaskState,
// appState represents the current tab's popup state
- appState: {
- currentDomain: opts.currentDomain,
- },
+ appState: {},
// Which blockchain we are using:
networkVersion: opts.networkVersion,