cannery/lib/cannery_web/live/component/topbar.ex
2021-09-10 00:28:53 -04:00

14 lines
283 B
Elixir

defmodule CanneryWeb.Live.Component.Topbar do
use CanneryWeb, :live_component
alias CanneryWeb.{HomeLive}
def mount(socket) do
{:ok, socket |> assign(results: [], title_content: nil)}
end
def update(assigns, socket) do
{:ok, socket |> assign(assigns)}
end
end