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:
parent
ef0bbb291d
commit
72ffa2c3f5
@ -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', {
|
||||||
|
@ -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'),
|
||||||
|
Loading…
Reference in New Issue
Block a user