cannery/lib/cannery_web/live/component/topbar.ex
2021-09-02 23:31:15 -04:00

14 lines
283 B
Elixir

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