18 lines
265 B
Elixir
18 lines
265 B
Elixir
defmodule MihainatorWeb.ResultComponent do
|
|
@moduledoc false
|
|
|
|
use Phoenix.LiveComponent
|
|
|
|
@impl true
|
|
def update(assigns, socket) do
|
|
socket = assign(socket, assigns)
|
|
|
|
{:ok, socket}
|
|
end
|
|
|
|
@impl true
|
|
def mount(socket) do
|
|
{:ok, socket}
|
|
end
|
|
end
|