Skip to content

Commit

Permalink
Update components.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim authored Aug 15, 2023
1 parent 618a081 commit 2d08b92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/support/live_views/components.ex
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ defmodule Phoenix.LiveViewTest.FunctionComponentWithAttrs do

attr :attr, :any
defp private_fun(assigns), do: ~H[]
def exposes_private_fun_to_avoid_warnings(assigns), do: private_fun(assigns)

slot :inner_block
def fun_slot(assigns), do: ~H[]
Expand Down

0 comments on commit 2d08b92

Please sign in to comment.