Skip to content

Commit c4f221b

Browse files
committed
add unit to block rewards
1 parent ad41d6d commit c4f221b

File tree

2 files changed

+1
-28
lines changed

2 files changed

+1
-28
lines changed

packages/app-explorer/src/systems/Block/components/BlockItem.tsx

-27
Original file line numberDiff line numberDiff line change
@@ -18,33 +18,6 @@ export default function BlockItem({ blockId, ethValue }: BlockItemProps) {
1818
</Copyable>
1919
</Box>
2020
</HStack>
21-
<div className="flex items-center gap-2">
22-
{ethValue !== '0' ? (
23-
<svg
24-
xmlns="http://www.w3.org/2000/svg"
25-
width="18"
26-
height="18"
27-
viewBox="0 0 24 24"
28-
fill="none"
29-
stroke="currentColor"
30-
stroke-width="1.2"
31-
stroke-linecap="round"
32-
stroke-linejoin="round"
33-
className="text-icon inline-flex items-center fuel-Icon"
34-
>
35-
<path d="M14 11h1a2 2 0 0 1 2 2v3a1.5 1.5 0 0 0 3 0v-7l-3 -3" />
36-
<path d="M4 20v-14a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v14" />
37-
<path d="M3 20l12 0" />
38-
<path d="M18 7v1a1 1 0 0 0 1 1h1" />
39-
<path d="M4 11l10 0" />
40-
</svg>
41-
) : (
42-
''
43-
)}
44-
{/* <Text className="text-gray-10 text-xs text-ellipsis w-[7rem]">
45-
{ethValue} ETH
46-
</Text> */}
47-
</div>
4821
</VStack>
4922
);
5023
}

packages/app-explorer/src/systems/Block/components/BlocksTable.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const columns = [
117117
>
118118
<div className="font-mono text-sm text-gray-contrast w-full flex justify-start pl-6 px-1">
119119
{mintTransaction
120-
? mintTransaction.mintAmount / 10 ** 9
120+
? `${mintTransaction.mintAmount / 10 ** 9} ETH`
121121
: 'No mint amount'}{' '}
122122
</div>
123123
</Link>

0 commit comments

Comments
 (0)