diff --git a/lib/cannery_web/live/component/topbar.ex b/lib/cannery_web/live/component/topbar.ex index 0718d48..3239451 100644 --- a/lib/cannery_web/live/component/topbar.ex +++ b/lib/cannery_web/live/component/topbar.ex @@ -1,6 +1,7 @@ defmodule CanneryWeb.Live.Component.Topbar do use CanneryWeb, :live_component + alias Cannery.{Accounts} alias CanneryWeb.{HomeLive} def mount(socket) do diff --git a/lib/cannery_web/views/layout_view.ex b/lib/cannery_web/views/layout_view.ex index 2da93b8..1207d13 100644 --- a/lib/cannery_web/views/layout_view.ex +++ b/lib/cannery_web/views/layout_view.ex @@ -1,5 +1,6 @@ defmodule CanneryWeb.LayoutView do use CanneryWeb, :view + alias Cannery.{Accounts} def get_title(conn) do if conn.assigns |> Map.has_key?(:title) do