fix warnings

This commit is contained in:
byte[] 2019-12-06 18:08:37 -05:00
parent 1b774dfae3
commit 0e13a7e6a0
2 changed files with 1 additions and 2 deletions

View file

@ -5,7 +5,6 @@ defmodule PhilomenaWeb.AdminCountersPlug do
plug PhilomenaWeb.AdminCountersPlug
"""
alias Plug.Conn
alias Philomena.DuplicateReports
alias Philomena.Reports
alias Philomena.UserLinks

View file

@ -114,8 +114,8 @@ defmodule PhilomenaWeb.AppView do
|> to_string()
end
defp text_or_na(text), do: text
defp text_or_na(nil), do: "N/A"
defp text_or_na(text), do: text
# todo: make ip a real link
def link_to_ip(ip) do