mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-27 12:56:01 +01:00
e6c4d63ccd
Calls to `eth.sign` are now transiently persisted in memory, and displayed in a chronological stack with pending transactions (which are still persisted to disk). This allows the user a method to sign/cancel transactions even if they miss the Chrome notification. Improved a lot of the view routing, to avoid cases where routes would show an empty account view, or transition to the accounts list when it shouldn't. Broke the transaction approval view into a couple components so messages and transactions could have their own templates.
20 lines
372 B
JavaScript
20 lines
372 B
JavaScript
const Component = require('react').Component
|
|
const h = require('react-hyperscript')
|
|
const inherits = require('util').inherits
|
|
|
|
module.exports = NewComponent
|
|
|
|
|
|
inherits(NewComponent, Component)
|
|
function NewComponent() {
|
|
Component.call(this)
|
|
}
|
|
|
|
NewComponent.prototype.render = function() {
|
|
var state = this.props
|
|
|
|
return (
|
|
h('span', 'Placeholder component')
|
|
)
|
|
}
|