mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-30 18:16:48 +10:00
bugfix: tx-state is under attributes
This commit is contained in:
parent
fb9197499a
commit
bbb6e90d25
1 changed files with 1 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue