mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #2508 from watilde/fixes-1192
Remove warning message when show import page
This commit is contained in:
commit
7bfb08cf3b
@ -72,6 +72,7 @@ AccountImportSubview.prototype.render = function () {
|
||||
}
|
||||
}),
|
||||
onChange: (opt) => {
|
||||
props.dispatch(actions.showImportPage())
|
||||
this.setState({ type: opt.value })
|
||||
},
|
||||
}),
|
||||
|
@ -43,7 +43,7 @@ function rootReducer (state, action) {
|
||||
}
|
||||
|
||||
window.logStateString = function (cb) {
|
||||
let state = window.METAMASK_CACHED_LOG_STATE
|
||||
const state = window.METAMASK_CACHED_LOG_STATE
|
||||
const version = global.platform.getVersion()
|
||||
const browser = window.navigator.userAgent
|
||||
return global.platform.getPlatformInfo((err, platform) => {
|
||||
@ -53,7 +53,7 @@ window.logStateString = function (cb) {
|
||||
state.version = version
|
||||
state.platform = platform
|
||||
state.browser = browser
|
||||
let stateString = JSON.stringify(state, removeSeedWords, 2)
|
||||
const stateString = JSON.stringify(state, removeSeedWords, 2)
|
||||
return cb(null, stateString)
|
||||
})
|
||||
}
|
||||
|
@ -122,6 +122,7 @@ function reduceApp (state, action) {
|
||||
name: 'import-menu',
|
||||
},
|
||||
transForward: true,
|
||||
warning: null,
|
||||
})
|
||||
|
||||
case actions.SHOW_INFO_PAGE:
|
||||
|
Loading…
Reference in New Issue
Block a user