Skip to content

Commit

Permalink
remove dead code found by type system
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenDE committed Dec 26, 2024
1 parent 7c020d1 commit 4aa5c83
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/phoenix_live_view/engine.ex
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,6 @@ defmodule Phoenix.LiveView.Rendered do
Phoenix.HTML.Safe.to_iodata(struct)
end

def to_iodata(nil) do
raise "cannot convert .heex/.leex template with change tracking to iodata"
end

def to_iodata(other) do
other
end
Expand Down

0 comments on commit 4aa5c83

Please sign in to comment.