Skip to content

Commit 120b245

Browse files
Fix dictionary syntax in on_load example to resolve flexdown parser error
Co-Authored-By: Alek Petuskey <[email protected]>
1 parent d9cea3b commit 120b245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-reference/event_triggers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ You can specify an event handler to run when the page loads using the `on_load`
330330

331331
```python
332332
class State(rx.State):
333-
data: dict = {}
333+
data: dict = dict()
334334

335335
@rx.event
336336
def get_data(self):

0 commit comments

Comments
 (0)