forked from shibao/cannery
14 lines
283 B
Elixir
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
|