Move components into folder
This commit is contained in:
17
lib/mihainator_web/live/components/result_component.ex
Normal file
17
lib/mihainator_web/live/components/result_component.ex
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user