From 0bfa10e501f47197996002447a216f278d7e6eb5 Mon Sep 17 00:00:00 2001 From: Daijiro Wachi Date: Mon, 30 Oct 2017 20:04:44 +0100 Subject: [PATCH] Remove warning message when show import page Fixes: https://github.com/MetaMask/metamask-extension/issues/1192 --- ui/app/accounts/import/index.js | 1 + ui/app/reducers/app.js | 1 + 2 files changed, 2 insertions(+) diff --git a/ui/app/accounts/import/index.js b/ui/app/accounts/import/index.js index 97b387229..46260c3e7 100644 --- a/ui/app/accounts/import/index.js +++ b/ui/app/accounts/import/index.js @@ -72,6 +72,7 @@ AccountImportSubview.prototype.render = function () { } }), onChange: (opt) => { + props.dispatch(actions.showImportPage()) this.setState({ type: opt.value }) }, }), diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index 6f08c6dc4..8558d6dca 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -122,6 +122,7 @@ function reduceApp (state, action) { name: 'import-menu', }, transForward: true, + warning: null, }) case actions.SHOW_INFO_PAGE: