From 4605bca7a5171b3cc1aecf11a87a81030e613c02 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Sat, 18 Sep 2021 15:40:19 -0300 Subject: [PATCH] Add missing data output --- src/transaction/Details.tsx | 10 +++++++++- src/useSourcify.ts | 3 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/transaction/Details.tsx b/src/transaction/Details.tsx index 9f55c3a..f3e5721 100644 --- a/src/transaction/Details.tsx +++ b/src/transaction/Details.tsx @@ -321,7 +321,15 @@ const Details: React.FC = ({ UTF-8 - {txDesc && } + + {txDesc === undefined ? ( + <>Waiting for data... + ) : txDesc === null ? ( + <>No decoded data + ) : ( + + )} +