From 71c7b9ff0f428726d6c0d14a6c209e4f844636b4 Mon Sep 17 00:00:00 2001 From: katibest Date: Tue, 17 Jul 2018 11:26:58 -0400 Subject: [PATCH] Removed unused TransactionView alias --- .../lib/explorer_web/views/address_transaction_view.ex | 2 -- .../lib/explorer_web/views/block_transaction_view.ex | 2 +- apps/explorer_web/lib/explorer_web/views/chain_view.ex | 1 - .../lib/explorer_web/views/pending_transaction_view.ex | 2 -- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/explorer_web/lib/explorer_web/views/address_transaction_view.ex b/apps/explorer_web/lib/explorer_web/views/address_transaction_view.ex index bbcaad04fc..9b552bb73b 100644 --- a/apps/explorer_web/lib/explorer_web/views/address_transaction_view.ex +++ b/apps/explorer_web/lib/explorer_web/views/address_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") diff --git a/apps/explorer_web/lib/explorer_web/views/block_transaction_view.ex b/apps/explorer_web/lib/explorer_web/views/block_transaction_view.ex index 4f3b74e707..0f84f5483d 100644 --- a/apps/explorer_web/lib/explorer_web/views/block_transaction_view.ex +++ b/apps/explorer_web/lib/explorer_web/views/block_transaction_view.ex @@ -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 diff --git a/apps/explorer_web/lib/explorer_web/views/chain_view.ex b/apps/explorer_web/lib/explorer_web/views/chain_view.ex index db997f6eab..276d18f990 100644 --- a/apps/explorer_web/lib/explorer_web/views/chain_view.ex +++ b/apps/explorer_web/lib/explorer_web/views/chain_view.ex @@ -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 diff --git a/apps/explorer_web/lib/explorer_web/views/pending_transaction_view.ex b/apps/explorer_web/lib/explorer_web/views/pending_transaction_view.ex index 96e3248ba7..e1b885639c 100644 --- a/apps/explorer_web/lib/explorer_web/views/pending_transaction_view.ex +++ b/apps/explorer_web/lib/explorer_web/views/pending_transaction_view.ex @@ -3,6 +3,4 @@ defmodule ExplorerWeb.PendingTransactionView do @dialyzer :no_match - alias ExplorerWeb.TransactionView - end