Skip to content

Commit

Permalink
add 0x prefix for the Block Hash
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadhassoun366 committed Nov 12, 2024
1 parent e231954 commit 785fcba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/(header-footer-layout)/blocks/[blocknumber]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,16 @@ export default function SingleBlock({ params }: BlockTransactionsProps) {
</div>
<h2 className="text-sm">{blockNum}</h2>
</div>
<div className="lg:flex space-y-2">
<div className="lg:flex space-y-2">
<div className="flex items-center gap-x-2 w-[300px]">
<h1 className="text-agrey-500 dark:text-agrey-600 text-sm ">
Block Hash
</h1>
{/* <Tooltip text="text" large position="right">
<i className="fa-sm far fa-info-circle text-agrey-500 dark:text-agrey-600" />
</Tooltip> */}
<i className="fa-sm far fa-info-circle text-agrey-500 dark:text-agrey-600" />
</Tooltip> */}
</div>
<h2 className="text-sm">{block_data.blockHash}</h2>
<h2 className="text-sm">0x{block_data.blockHash}</h2>
</div>
<div className="lg:flex space-y-2">
<div className="flex items-center gap-x-2 w-[300px]">
Expand Down

0 comments on commit 785fcba

Please sign in to comment.