Skip to content

Commit 26cf0ba

Browse files
committed
misc docs changes
1 parent c5c9d17 commit 26cf0ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/src/learn/your-first-component.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Additionally, you can pass in `#!python args` and `#!python kwargs` into your co
6868

6969
???+ tip "Components are automatically registered!"
7070

71-
ReactPy-Django will automatically register any component that is referenced in a Django HTML template. This means you [typically](../reference/utils.md#register-component) do not need to manually register components in your **Django app**.
71+
ReactPy-Django will automatically register any component that is referenced in a Django HTML template. This means you typically do not need to [manually register](../reference/utils.md#register-component) components in your **Django app**.
7272

7373
Please note that this HTML template must be properly stored within a registered Django app. ReactPy-Django will output a console log message containing all detected components when the server starts up.
7474

docs/src/reference/template-tag.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ Each component loaded via this template tag will receive a dedicated WebSocket c
4646
=== "my_template.html"
4747

4848
```jinja
49-
<!-- This is good -->
50-
{% component "example_project.my_app.components.hello_world" recipient="World" %}
51-
5249
<!-- This is bad -->
5350
{% component my_variable recipient="World" %}
51+
52+
<!-- This is good -->
53+
{% component "example_project.my_app.components.hello_world" recipient="World" %}
5454
```
5555

5656
=== "views.py"

0 commit comments

Comments
 (0)