Fix Signer (#4104)

This commit is contained in:
Nicolas Gotchac 2017-01-10 13:19:18 +01:00 committed by GitHub
parent 78566cf9bf
commit ae7619431b

View File

@ -247,13 +247,13 @@ class TransactionPendingFormConfirm extends Component {
}
}
function mapStateToProps (initState, initProps) {
const { accounts } = initState.personal;
function mapStateToProps (_, initProps) {
const { address } = initProps;
return (state) => {
const { accounts } = state.personal;
const account = accounts[address] || {};
return () => {
return { account };
};
}