Skip to content

Commit e3a7325

Browse files
smnandreweaverryan
authored andcommitted
[LiveComponent] Fix component syntax error in doc
1 parent 1a4bdc0 commit e3a7325

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)