Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmarcon committed Jan 26, 2024
1 parent 6578f57 commit f0f2e17
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 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 @@ -44,13 +44,11 @@ defmodule LiveSelectWeb.LiveComponentForm do

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

Check warning on line 46 in lib/support/live_select_web/live/live_component_form.ex

View workflow job for this annotation

GitHub Actions / Build and test with elixir 1.14.0 otp 25.0

variable "live_select" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 46 in lib/support/live_select_web/live/live_component_form.ex

View workflow job for this annotation

GitHub Actions / Build and test with elixir 1.15.0 otp 26.0

variable "live_select" is unused (if the variable is not meant to be used, prefix it with an underscore)
IO.inspect(live_select, label: "submit")
{:noreply, socket}
end

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

Check warning on line 51 in lib/support/live_select_web/live/live_component_form.ex

View workflow job for this annotation

GitHub Actions / Build and test with elixir 1.14.0 otp 25.0

variable "live_select" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 51 in lib/support/live_select_web/live/live_component_form.ex

View workflow job for this annotation

GitHub Actions / Build and test with elixir 1.15.0 otp 26.0

variable "live_select" is unused (if the variable is not meant to be used, prefix it with an underscore)
IO.inspect(live_select, label: "change")
{:noreply, socket}
end
end

0 comments on commit f0f2e17

Please sign in to comment.