From 93e3abd699627822cafb1668de7902eba4dcd6ed Mon Sep 17 00:00:00 2001 From: Juan Cazala Date: Sat, 6 Oct 2018 20:58:14 -0300 Subject: [PATCH] fix: prevent showing the TxStatusAsset component when creating a new Estate (#523) --- webapp/src/components/TxStatus/TxStatusAsset/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/components/TxStatus/TxStatusAsset/utils.js b/webapp/src/components/TxStatus/TxStatusAsset/utils.js index 3c705037c..faf22e5bd 100644 --- a/webapp/src/components/TxStatus/TxStatusAsset/utils.js +++ b/webapp/src/components/TxStatus/TxStatusAsset/utils.js @@ -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 }