bugfix: tx-state is under attributes

This commit is contained in:
Vesa Luusua 2017-04-26 19:31:02 +03:00
parent fb9197499a
commit bbb6e90d25

View file

@ -33,7 +33,7 @@ const timestamp = (intl, tx) => {
// Translated name of the state of the given transaction
const txState = (intl, tx) => {
const { state } = tx;
const { attributes: { state } } = tx;
if (state === propTypes.TX_STATE_ACCEPTED) {
return intl.formatMessage({
id: 'InboxPage.stateAccepted',