Skip to content

Commit abc9dff

Browse files
committed
fix macro component example (in comment)
Closes #3841.
1 parent 9ad548c commit abc9dff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/phoenix_component/macro_component.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ defmodule Phoenix.Component.MacroComponent do
7373
# markdown = Phoenix.Component.MacroComponent.to_string(children)
7474
# html_doc = MDEx.to_html!(markdown)
7575
#
76-
# {"div", attrs, [html_doc]}
76+
# {:ok, {"div", attrs, [html_doc]}}
7777
# end
7878
# end
7979
# ```

0 commit comments

Comments
 (0)