Remove warning message when show import page

Fixes: https://github.com/MetaMask/metamask-extension/issues/1192
feature/default_network_editable
Daijiro Wachi 7 years ago
parent e0030a8bf8
commit 0bfa10e501
  1. 1
      ui/app/accounts/import/index.js
  2. 1
      ui/app/reducers/app.js

@ -72,6 +72,7 @@ AccountImportSubview.prototype.render = function () {
} }
}), }),
onChange: (opt) => { onChange: (opt) => {
props.dispatch(actions.showImportPage())
this.setState({ type: opt.value }) this.setState({ type: opt.value })
}, },
}), }),

@ -122,6 +122,7 @@ function reduceApp (state, action) {
name: 'import-menu', name: 'import-menu',
}, },
transForward: true, transForward: true,
warning: null,
}) })
case actions.SHOW_INFO_PAGE: case actions.SHOW_INFO_PAGE:

Loading…
Cancel
Save