Fix react-router related exceptions
This commit is contained in:
parent
ef0bbb291d
commit
72ffa2c3f5
|
@ -268,7 +268,7 @@ class App extends Component {
|
|||
}, [
|
||||
h('div.app-header-contents', {}, [
|
||||
h('div.left-menu-wrapper', {
|
||||
onClick: () => history.push(DEFAULT_ROUTE),
|
||||
onClick: () => props.history.push(DEFAULT_ROUTE),
|
||||
}, [
|
||||
// mini logo
|
||||
h('img.metafox-icon', {
|
||||
|
|
|
@ -327,7 +327,7 @@ ConfirmSendToken.prototype.render = function () {
|
|||
h('div.confirm-screen-wrapper.flex-column.flex-grow', [
|
||||
h('h3.flex-center.confirm-screen-header', [
|
||||
h('button.btn-clear.confirm-screen-back-button', {
|
||||
onClick: () => editTransaction(txMeta),
|
||||
onClick: () => this.editTransaction(txMeta),
|
||||
}, 'EDIT'),
|
||||
h('div.confirm-screen-title', 'Confirm Transaction'),
|
||||
h('div.confirm-screen-header-tip'),
|
||||
|
|
Loading…
Reference in New Issue