Skip to content

Commit 70f8ca4

Browse files
committed
minor #1430 [LiveComponent] Fix component syntax error in doc (smnandre)
This PR was squashed before being merged into the 2.x branch. Discussion ---------- [LiveComponent] Fix component syntax error in doc Spotted by `@fGuix` in #1424 (thanks) Commits ------- e3a7325 [LiveComponent] Fix component syntax error in doc
2 parents c2d029f + e3a7325 commit 70f8ca4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2257,9 +2257,9 @@ Or override the ``loadingContent`` block:
22572257

22582258
.. code-block:: twig
22592259
2260-
{% component SomeHeavyComponent with { defer: true }) }}
2260+
{% component SomeHeavyComponent with { defer: true } %}
22612261
{% block loadingContent %}Loading...{% endblock %}
2262-
{{ end_component() }}
2262+
{% endcomponent %}
22632263
22642264
To change the initial tag from a ``div`` to something else, use the ``loading-tag`` option:
22652265

0 commit comments

Comments
 (0)