Skip to content

Commit

Permalink
prevent missing fn on LV 1.0.0 (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
APB9785 authored Dec 17, 2024
1 parent 3f4da69 commit 0fec092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/beacon/private.ex
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ defmodule Beacon.Private do
end
end

if Version.compare("1.0.0", @phoenix_live_view_version) in [:lt, :eq] do
if Version.compare(@phoenix_live_view_version, "1.0.0") == :gt do
defp live_link_info(endpoint, router, url) do
Phoenix.LiveView.Route.live_link_info_without_checks(endpoint, router, url)
end
Expand Down

0 comments on commit 0fec092

Please sign in to comment.