Skip to content

Commit f715061

Browse files
committed
minor #1974 Update index.rst (elkuku)
This PR was merged into the 2.x branch. Discussion ---------- Update index.rst Fix an undefined variable | Q | A | ------------- | --- | Bug fix? | yes | New feature? |no <!-- please update src/**/CHANGELOG.md files --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT There seems to be an undefined variable in the example Commits ------- fad816d Update index.rst
2 parents 21a6afc + fad816d commit f715061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/React/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ For example:
8282
{% extends 'base.html.twig' %}
8383

8484
{% block body %}
85-
<div {{ react_component('Hello', { 'fullName': number }) }}>
85+
<div {{ react_component('Hello', { fullName: 'Fabien' }) }}>
8686
Loading... <i class="fas fa-cog fa-spin fa-3x"></i>
8787
</div>
8888

0 commit comments

Comments
 (0)