diff --git a/src/transaction/LogEntry.tsx b/src/transaction/LogEntry.tsx index f404ad3..23ab883 100644 --- a/src/transaction/LogEntry.tsx +++ b/src/transaction/LogEntry.tsx @@ -22,7 +22,10 @@ const LogEntry: React.FC = ({ txData, log, logDesc }) => { const topic0 = useTopic0(rawTopic0); const topic0LogDesc = useMemo(() => { - if (!topic0?.signatures) { + if (!topic0) { + return topic0; + } + if (!topic0.signatures) { return undefined; } @@ -84,7 +87,7 @@ const LogEntry: React.FC = ({ txData, log, logDesc }) => { ) : resolvedLogDesc === null ? (
- No decoded data + Can't decode data
) : (