diff --git a/lib/basket_web/live/overview.ex b/lib/basket_web/live/overview.ex index 9f7ae27..308a9f8 100644 --- a/lib/basket_web/live/overview.ex +++ b/lib/basket_web/live/overview.ex @@ -29,6 +29,7 @@ defmodule BasketWeb.OverviewLive do assign(socket, :basket, (socket.assigns.basket ++ [row]) |> sort_by_ticker()) :market_closed -> + # credo:disable-for-next-line # TODO: add market closed row socket diff --git a/lib/basket_web/live/overview/ticker_add.ex b/lib/basket_web/live/overview/ticker_add.ex index 4caa9fd..846320e 100644 --- a/lib/basket_web/live/overview/ticker_add.ex +++ b/lib/basket_web/live/overview/ticker_add.ex @@ -25,7 +25,6 @@ defmodule BasketWeb.Live.Overview.TickerAdd do defp build_ticker_bars(%{"bars" => nil}), do: :no_data defp build_ticker_bars(%{"bars" => ticker_bars}) do - # TODO: check first new_ticker_bars = Map.to_list(ticker_bars) |> List.first() case new_ticker_bars do