Skip to content

Commit

Permalink
fix: prevent showing the TxStatusAsset component when creating a new …
Browse files Browse the repository at this point in the history
…Estate (#523)
  • Loading branch information
Juan Cazala authored and nachomazzara committed Oct 6, 2018
1 parent c690a5a commit 93e3abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/TxStatus/TxStatusAsset/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ export function isAssetPendingTransaction(asset, tx) {
? buildCoordinate(tx.payload.x, tx.payload.y)
: tx.payload.id

return isPending(tx.status) && payloadAssetId === asset.id
return isPending(tx.status) && asset && payloadAssetId === asset.id
}

0 comments on commit 93e3abd

Please sign in to comment.