diff --git a/apps/explorer/src/app/components/txs/txs-per-block.tsx b/apps/explorer/src/app/components/txs/txs-per-block.tsx index 3861c00ce..6e4ed8e1d 100644 --- a/apps/explorer/src/app/components/txs/txs-per-block.tsx +++ b/apps/explorer/src/app/components/txs/txs-per-block.tsx @@ -32,7 +32,7 @@ export const TxsPerBlock = ({ blockHeight }: TxsPerBlockProps) => { return ( - {decodedBlockData && decodedBlockData.length ? ( + {decodedBlockData && decodedBlockData.length > 0 ? (
@@ -76,7 +76,7 @@ export const TxsPerBlock = ({ blockHeight }: TxsPerBlockProps) => {
) : ( -
+
{t(`No transactions in block ${blockHeight}`)}
)}