cannery/lib/cannery_web/live/component/topbar.ex

14 lines
280 B
Elixir
Raw Normal View History

2021-03-11 21:12:55 -05:00
defmodule CanneryWeb.Live.Component.Topbar do
use CanneryWeb, :live_component
2021-09-02 23:31:14 -04:00
alias Cannery.{Accounts}
2021-09-02 23:31:14 -04:00
2021-03-11 21:12:55 -05:00
def mount(socket) do
{:ok, socket |> assign(results: [], title_content: nil)}
end
2021-09-02 23:31:14 -04:00
2021-03-11 21:12:55 -05:00
def update(assigns, socket) do
{:ok, socket |> assign(assigns)}
end
2021-09-02 23:31:14 -04:00
end