aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-11-03 06:20:29 +0800
committerGitHub <noreply@github.com>2017-11-03 06:20:29 +0800
commit9f70762434deb1c973665a76623838289e655f22 (patch)
tree738fccaff1c153c72aea0d0699ddfec0b4c097c7 /ui/app/actions.js
parentdc0b3255cf908320b5b46f02765ea03b5b4db6b7 (diff)
parentacc973d543ac65f8db980c0007c248c509345411 (diff)
downloadtangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.tar
tangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.tar.gz
tangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.tar.bz2
tangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.tar.lz
tangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.tar.xz
tangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.tar.zst
tangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.zip
Merge pull request #2530 from MetaMask/uat
Merge uat into NewUI-flat
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js14
1 files changed, 8 insertions, 6 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 8da530a79..5d3befa63 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -224,6 +224,8 @@ var actions = {
TOGGLE_ACCOUNT_MENU: 'TOGGLE_ACCOUNT_MENU',
toggleAccountMenu,
+
+ useEtherscanProvider,
}
module.exports = actions
@@ -428,7 +430,7 @@ function addNewAccount () {
forceUpdateMetamaskState(dispatch)
return resolve(newAccountAddress)
})
- });
+ })
}
}
@@ -619,7 +621,7 @@ function updateSendErrors (error) {
function clearSend () {
return {
- type: actions.CLEAR_SEND
+ type: actions.CLEAR_SEND,
}
}
@@ -1002,10 +1004,10 @@ function addTokens (tokens) {
}
}
-function updateTokens(newTokens) {
+function updateTokens (newTokens) {
return {
type: actions.UPDATE_TOKENS,
- newTokens
+ newTokens,
}
}
@@ -1079,7 +1081,7 @@ function setProviderType (type) {
}
}
-function updateProviderType(type) {
+function updateProviderType (type) {
return {
type: actions.SET_PROVIDER_TYPE,
value: type,
@@ -1237,7 +1239,7 @@ function exportAccount (password, address) {
}
}
-function exportAccountComplete() {
+function exportAccountComplete () {
return {
type: actions.EXPORT_ACCOUNT,
}