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

Commit

Permalink
Added phx-no-format to display calls properly (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElFantasma authored Sep 15, 2023
1 parent d33e56e commit bd0ee91
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/starknet_explorer_web/live/transaction_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -477,14 +477,12 @@ defmodule StarknetExplorerWeb.TransactionLive do
<div class="col-span-full">
<%= for input <- @transaction.input_data do %>
<%= unless is_nil(input.call) do %>
<div class="w-full bg-black/20 p-5 mt-5">
<div class="w-full bg-black/20 p-5 mt-5" phx-no-format>
call <span class="text-se-violet"><%= input.call.name %></span>(<.intersperse
:let={arg}
enum={input.call.args}
>
<:separator>,</:separator>
<span class="text-blue-400"><%= arg.name %></span>
</.intersperse>)
><:separator>, </:separator>
<span class="text-blue-400"><%= arg.name %></span></.intersperse>)
<span class="text-blue-400">-></span> <%= Utils.shorten_block_hash(input.selector) %>
</div>
<div class="w-full bg-black/10 p-5">
Expand Down

0 comments on commit bd0ee91

Please sign in to comment.