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) { function mapStateToProps (_, initProps) {
const { accounts } = initState.personal;
const { address } = initProps; const { address } = initProps;
const account = accounts[address] || {}; return (state) => {
const { accounts } = state.personal;
const account = accounts[address] || {};
return () => {
return { account }; return { account };
}; };
} }