Skip to content

Commit

Permalink
minor #1974 Update index.rst (elkuku)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
javiereguiluz committed Jul 11, 2024
2 parents 21a6afc + fad816d commit f715061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/React/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ For example:
{% extends 'base.html.twig' %}

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

Expand Down

0 comments on commit f715061

Please sign in to comment.