Skip to content

Commit 7947e91

Browse files
committed
Clean up use-params example
1 parent db9e074 commit 7947e91

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/examples/python/use-params.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from reactpy import component, html
1+
from reactpy import component, html, run
2+
23
from reactpy_router import browser_router, link, route, use_params
34

45

@@ -20,3 +21,6 @@ def root():
2021
),
2122
route("/user/{id:int}", user()),
2223
)
24+
25+
26+
run(root)

0 commit comments

Comments
 (0)