1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix react-router related exceptions

This commit is contained in:
Alexander Tseung 2018-02-09 12:05:27 -08:00
parent ef0bbb291d
commit 72ffa2c3f5
2 changed files with 2 additions and 2 deletions

View File

@ -268,7 +268,7 @@ class App extends Component {
}, [ }, [
h('div.app-header-contents', {}, [ h('div.app-header-contents', {}, [
h('div.left-menu-wrapper', { h('div.left-menu-wrapper', {
onClick: () => history.push(DEFAULT_ROUTE), onClick: () => props.history.push(DEFAULT_ROUTE),
}, [ }, [
// mini logo // mini logo
h('img.metafox-icon', { h('img.metafox-icon', {

View File

@ -327,7 +327,7 @@ ConfirmSendToken.prototype.render = function () {
h('div.confirm-screen-wrapper.flex-column.flex-grow', [ h('div.confirm-screen-wrapper.flex-column.flex-grow', [
h('h3.flex-center.confirm-screen-header', [ h('h3.flex-center.confirm-screen-header', [
h('button.btn-clear.confirm-screen-back-button', { h('button.btn-clear.confirm-screen-back-button', {
onClick: () => editTransaction(txMeta), onClick: () => this.editTransaction(txMeta),
}, 'EDIT'), }, 'EDIT'),
h('div.confirm-screen-title', 'Confirm Transaction'), h('div.confirm-screen-title', 'Confirm Transaction'),
h('div.confirm-screen-header-tip'), h('div.confirm-screen-header-tip'),