move components to Components context

This commit is contained in:
2022-02-11 22:47:33 -05:00
parent 993d583fdd
commit c0b3de75a9
19 changed files with 47 additions and 40 deletions

View File

@ -1,5 +1,6 @@
defmodule CanneryWeb.ErrorView do
use CanneryWeb, :view
import CanneryWeb.Components.Topbar
alias CanneryWeb.{Endpoint, HomeLive}
def template_not_found(error_path, _assigns) do

View File

@ -1,5 +1,6 @@
defmodule CanneryWeb.LayoutView do
use CanneryWeb, :view
import CanneryWeb.Components.Topbar
alias Cannery.Accounts
alias CanneryWeb.{Endpoint, HomeLive}