Skip to content

Commit

Permalink
Fix warnings (parenthesis must be removed here)
Browse files Browse the repository at this point in the history
  • Loading branch information
thbar committed Nov 28, 2024
1 parent 64b38ea commit 66371c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ defmodule TransportWeb.Live.OnDemandValidationSelectLive do

defp form_fields(socket) do
changeset = socket_value(socket, :changeset)
Map.merge(changeset.data(), changeset.changes())
Map.merge(changeset.data, changeset.changes)
end

defp socket_value(%Phoenix.LiveView.Socket{assigns: assigns}, key), do: Map.get(assigns, key)
Expand Down

0 comments on commit 66371c2

Please sign in to comment.