Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Show fee unit on transaction view (#161)
Browse files Browse the repository at this point in the history
* show fee unit

* format
  • Loading branch information
igamigo authored Sep 15, 2023
1 parent 83bcfb5 commit 2b1113d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/starknet_explorer_web/live/transaction_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -441,13 +441,17 @@ defmodule StarknetExplorerWeb.TransactionLive do
<% end %>
<div class="grid-4 custom-list-item">
<div class="block-label">Actual Fee</div>
<div class="col-span-3"><%= @transaction_receipt.actual_fee %></div>
<div class="col-span-3">
<span class="blue-label rounded-full px-4 py-1">
<%= @transaction_receipt.actual_fee %> ETH
</span>
</div>
</div>
<div class="grid-4 custom-list-item">
<div class="block-label">Max Fee</div>
<div class="col-span-3">
<span class="bg-se-cash-green/10 text-se-cash-green rounded-full px-4 py-1">
<%= @transaction.max_fee %>
<span class="text-se-cash-green rounded-full px-4 py-1">
<%= @transaction.max_fee %> ETH
</span>
</div>
</div>
Expand Down

0 comments on commit 2b1113d

Please sign in to comment.