Skip to content

Commit c3b9766

Browse files
authored
Merge pull request #2265 from oasisprotocol/lw/fix-block
Fix block details display (remove "0" breaking the table structure)
2 parents f3055c5 + 453fd3f commit c3b9766

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.changelog/2265.trivial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix block details display (remove "0" breaking the table structure)

src/app/pages/ConsensusBlockDetailPage/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export const ConsensusBlockDetailView: FC<{
161161
</>
162162
)}
163163

164-
{block.gas_limit && (
164+
{!!block.gas_limit && (
165165
<>
166166
<dt>{t('common.gasLimit')}</dt>
167167
<dd>

0 commit comments

Comments
 (0)