aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-10-26 04:24:03 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-10-26 04:24:03 +0800
commit678301a20e6112d79a052c13f921bb75c451c613 (patch)
tree735a7e4cd5dc92aa3f574144660231728d9c74f2 /ui/app/actions.js
parent16e2f029d8b76e6f1e951d35307d955c2346cd8d (diff)
downloadtangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.tar
tangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.tar.gz
tangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.tar.bz2
tangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.tar.lz
tangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.tar.xz
tangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.tar.zst
tangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.zip
Phase out extra warning screen.
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 525ceca54..1f8ba7f04 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -61,10 +61,6 @@ var actions = {
showPrivateKey: showPrivateKey,
SAVE_ACCOUNT_LABEL: 'SAVE_ACCOUNT_LABEL',
saveAccountLabel: saveAccountLabel,
- AGREE_TO_ETH_WARNING: 'AGREE_TO_ETH_WARNING',
- agreeToEthWarning: agreeToEthWarning,
- SHOW_ETH_WARNING: 'SHOW_ETH_WARNING',
- showEthWarning: showEthWarning,
// tx conf screen
COMPLETED_TX: 'COMPLETED_TX',
TRANSACTION_ERROR: 'TRANSACTION_ERROR',
@@ -596,25 +592,6 @@ function showSendPage () {
}
}
-function agreeToEthWarning () {
- return (dispatch) => {
- background.agreeToEthWarning((err) => {
- if (err) {
- return dispatch(actions.showEthWarning(err.message))
- }
- dispatch({
- type: actions.AGREE_TO_ETH_WARNING,
- })
- })
- }
-}
-
-function showEthWarning () {
- return {
- type: actions.SHOW_ETH_WARNING,
- }
-}
-
function buyEth (address, amount) {
return (dispatch) => {
background.buyEth(address, amount)