Skip to content

Commit

Permalink
Fix transaction index display
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennievon committed Jul 15, 2024
1 parent b7edd5a commit 62813f2
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function PersonalTxnDetailsComponent({
label="Transaction Index"
value={
<Badge variant={"outline"}>
{transactionDetails?.transactionIndex}{" "}
{Number(transactionDetails?.transactionIndex)}
</Badge>
}
/>
Expand Down Expand Up @@ -123,10 +123,6 @@ export function PersonalTxnDetailsComponent({
label="Block Hash"
value={<TruncatedAddress address={transactionDetails?.blockHash} />}
/>
<KeyValueItem
label="Transaction Index"
value={transactionDetails?.transactionIndex}
/>
<KeyValueItem
label="Logs Bloom"
value={<TruncatedAddress address={transactionDetails?.logsBloom} />}
Expand Down Expand Up @@ -216,7 +212,7 @@ export function PersonalTxnDetailsComponent({
label="Transaction Index"
value={
<Badge variant={"outline"}>
{transactionDetails?.transactionIndex}
{Number(transactionDetails?.transactionIndex)}
</Badge>
}
isLastItem
Expand Down

0 comments on commit 62813f2

Please sign in to comment.