diff --git a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex index c952d57793..98acd3b3e6 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex @@ -138,7 +138,7 @@ - <% token_transfer = erc20_token_transfer(@transaction, @token_transfers) %> + <% token_transfer = assigns[:token_transfers] && erc20_token_transfer(@transaction, @token_transfers) %> <%= if token_transfer do %>