Removed unused TransactionView alias

pull/412/head
katibest 6 years ago
parent feef70d90c
commit 71c7b9ff0f
  1. 2
      apps/explorer_web/lib/explorer_web/views/address_transaction_view.ex
  2. 2
      apps/explorer_web/lib/explorer_web/views/block_transaction_view.ex
  3. 1
      apps/explorer_web/lib/explorer_web/views/chain_view.ex
  4. 2
      apps/explorer_web/lib/explorer_web/views/pending_transaction_view.ex

@ -3,8 +3,6 @@ defmodule ExplorerWeb.AddressTransactionView do
import ExplorerWeb.AddressView, only: [contract?: 1, smart_contract_verified?: 1]
alias ExplorerWeb.TransactionView
def format_current_filter(filter) do
case filter do
"to" -> gettext("To")

@ -1,7 +1,7 @@
defmodule ExplorerWeb.BlockTransactionView do
use ExplorerWeb, :view
alias ExplorerWeb.{BlockView, TransactionView}
alias ExplorerWeb.BlockView
defdelegate formatted_timestamp(block), to: BlockView
end

@ -3,7 +3,6 @@ defmodule ExplorerWeb.ChainView do
alias Explorer.ExchangeRates.Token
alias ExplorerWeb.ExchangeRates.USD
alias ExplorerWeb.TransactionView
def encode_market_history_data(market_history_data) do
market_history_data

@ -3,6 +3,4 @@ defmodule ExplorerWeb.PendingTransactionView do
@dialyzer :no_match
alias ExplorerWeb.TransactionView
end

Loading…
Cancel
Save