mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #181 from MetaMask/PostPresentationFixup
Post presentation fixup
This commit is contained in:
commit
d80f06d62e
@ -7,7 +7,7 @@ var sinon = require('sinon')
|
||||
var actions = require(path.join(__dirname, '..', '..', '..', 'ui', 'app', 'actions.js'))
|
||||
var reducers = require(path.join(__dirname, '..', '..', '..', 'ui', 'app', 'reducers.js'))
|
||||
|
||||
describe.only('tx confirmation screen', function() {
|
||||
describe('tx confirmation screen', function() {
|
||||
|
||||
beforeEach(function() {
|
||||
this.sinon = sinon.sandbox.create();
|
||||
|
@ -31,9 +31,9 @@ function AccountDetailScreen() {
|
||||
|
||||
AccountDetailScreen.prototype.render = function() {
|
||||
var state = this.props
|
||||
var selected = state.address || Object.keys(state.accounts[0]).address
|
||||
var identity = state.identities[state.address]
|
||||
var account = state.accounts[state.address]
|
||||
var selected = state.address || Object.keys(state.accounts)[0]
|
||||
var identity = state.identities[selected]
|
||||
var account = state.accounts[selected]
|
||||
var accountDetail = state.accountDetail
|
||||
var transactions = state.transactions
|
||||
|
||||
|
@ -135,8 +135,8 @@ function recoverFromSeed(password, seed) {
|
||||
dispatch(this.hideLoadingIndication())
|
||||
if (err) return dispatch(this.displayWarning(err.message))
|
||||
|
||||
dispatch(this.goHome())
|
||||
dispatch(this.unlockMetamask())
|
||||
dispatch(this.showAccountsPage())
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user