fix tests

This commit is contained in:
2022-01-22 20:44:38 -05:00
committed by oliviasculley
parent a64d92a6cf
commit 728728a5a4
17 changed files with 57 additions and 10 deletions

View File

@ -1,7 +1,11 @@
defmodule LokalWeb.LiveHelpers do
@moduledoc """
Contains resuable methods for all liveviews
"""
import Phoenix.LiveView.Helpers
import Phoenix.LiveView, only: [assign_new: 3]
alias Lokal.{Accounts}
alias Lokal.Accounts
@doc """
Renders a component inside the `LokalWeb.ModalComponent` component.

View File

@ -1,4 +1,8 @@
defmodule LokalWeb.ModalComponent do
@moduledoc """
Component that provides a floating modal
"""
use LokalWeb, :live_component
@impl true

View File

@ -1,4 +1,8 @@
defmodule LokalWeb.PageLive do
@moduledoc """
Liveview for the main home page
"""
use LokalWeb, :live_view
@impl true