Skip to content

Commit

Permalink
fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmarcon committed Jan 26, 2024
1 parent f0f2e17 commit 911d983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/support/live_select_web/live/live_component_form.ex
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ defmodule LiveSelectWeb.LiveComponentForm do
end

@impl true
def handle_event("submit", %{"my_form_new_style" => %{"city_search" => live_select}}, socket) do
def handle_event("submit", %{"my_form_new_style" => %{"city_search" => _live_select}}, socket) do
{:noreply, socket}
end

@impl true
def handle_event("change", %{"my_form_new_style" => %{"city_search" => live_select}}, socket) do
def handle_event("change", %{"my_form_new_style" => %{"city_search" => _live_select}}, socket) do
{:noreply, socket}
end
end

0 comments on commit 911d983

Please sign in to comment.