Skip to content

Commit

Permalink
add unit to block rewards
Browse files Browse the repository at this point in the history
  • Loading branch information
aashaykapoor committed Oct 1, 2024
1 parent ad41d6d commit c4f221b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
27 changes: 0 additions & 27 deletions packages/app-explorer/src/systems/Block/components/BlockItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,6 @@ export default function BlockItem({ blockId, ethValue }: BlockItemProps) {
</Copyable>
</Box>
</HStack>
<div className="flex items-center gap-2">
{ethValue !== '0' ? (
<svg
xmlns="http://www.w3.org/2000/svg"
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="1.2"
stroke-linecap="round"
stroke-linejoin="round"
className="text-icon inline-flex items-center fuel-Icon"
>
<path d="M14 11h1a2 2 0 0 1 2 2v3a1.5 1.5 0 0 0 3 0v-7l-3 -3" />
<path d="M4 20v-14a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v14" />
<path d="M3 20l12 0" />
<path d="M18 7v1a1 1 0 0 0 1 1h1" />
<path d="M4 11l10 0" />
</svg>
) : (
''
)}
{/* <Text className="text-gray-10 text-xs text-ellipsis w-[7rem]">
{ethValue} ETH
</Text> */}
</div>
</VStack>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const columns = [
>
<div className="font-mono text-sm text-gray-contrast w-full flex justify-start pl-6 px-1">
{mintTransaction
? mintTransaction.mintAmount / 10 ** 9
? `${mintTransaction.mintAmount / 10 ** 9} ETH`
: 'No mint amount'}{' '}
</div>
</Link>
Expand Down

0 comments on commit c4f221b

Please sign in to comment.