Skip to content

Commit

Permalink
Fix typo in helpers.ex docs (#2025)
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanNielson authored and chrismccord committed May 26, 2022
1 parent 9525184 commit 837dbde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix_live_view/helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ defmodule Phoenix.LiveView.Helpers do
The above would add all caller attributes into the HTML, but strip out LiveView
assigns like slots, as well as user-defined assigns like `:visible` that are not
meant to be added to the HTML itself. This appraoch is useful to allow a component
meant to be added to the HTML itself. This approach is useful to allow a component
to accept arbitrary HTML attributes like class, ARIA attributes, etc.
### HEEx extension: Defining function components
Expand Down

0 comments on commit 837dbde

Please sign in to comment.