Remove unnecessary check

This commit is contained in:
Willian Mitsuda 2022-08-23 17:40:04 -03:00
parent 9683edf050
commit d09fe7a023
No known key found for this signature in database
1 changed files with 1 additions and 2 deletions

View File

@ -46,8 +46,7 @@ const Transaction: React.FC = () => {
{txData.confirmedData?.blockNumber !== undefined && ( {txData.confirmedData?.blockNumber !== undefined && (
<NavTab href="logs"> <NavTab href="logs">
Logs Logs
{txData && {` (${txData.confirmedData?.logs?.length ?? 0})`}
` (${txData.confirmedData?.logs?.length ?? 0})`}
</NavTab> </NavTab>
)} )}
<NavTab href="trace">Trace</NavTab> <NavTab href="trace">Trace</NavTab>