aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 65e5add8c..6552e7f5c 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -22,8 +22,6 @@ var actions = {
clearNotices: clearNotices,
markAccountsFound,
// intialize screen
- AGREE_TO_DISCLAIMER: 'AGREE_TO_DISCLAIMER',
- agreeToDisclaimer: agreeToDisclaimer,
CREATE_NEW_VAULT_IN_PROGRESS: 'CREATE_NEW_VAULT_IN_PROGRESS',
SHOW_CREATE_VAULT: 'SHOW_CREATE_VAULT',
SHOW_RESTORE_VAULT: 'SHOW_RESTORE_VAULT',
@@ -450,23 +448,6 @@ function showImportPage () {
}
}
-function agreeToDisclaimer () {
- return (dispatch) => {
- dispatch(this.showLoadingIndication())
- if (global.METAMASK_DEBUG) console.log(`background.agreeToDisclaimer`)
- background.agreeToDisclaimer((err) => {
- if (err) {
- return dispatch(actions.displayWarning(err.message))
- }
-
- dispatch(this.hideLoadingIndication())
- dispatch({
- type: this.AGREE_TO_DISCLAIMER,
- })
- })
- }
-}
-
function createNewVaultInProgress () {
return {
type: actions.CREATE_NEW_VAULT_IN_PROGRESS,