remove extra @impl true
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-03-16 17:40:00 -04:00
parent ab8561fcf0
commit 3acecb9a93
27 changed files with 132 additions and 152 deletions

View File

@ -106,12 +106,10 @@ defmodule CanneryWeb.ContainerLive.Index do
{:noreply, socket}
end
@impl true
def handle_event("toggle_table", _params, %{assigns: %{view_table: view_table}} = socket) do
{:noreply, socket |> assign(:view_table, !view_table) |> display_containers()}
end
@impl true
def handle_event("search", %{"search" => %{"search_term" => ""}}, socket) do
{:noreply, socket |> push_patch(to: Routes.container_index_path(Endpoint, :index))}
end