Skip to content

Commit d9eaf07

Browse files
committed
Put sleep on the correct pyscript file
1 parent 9af272f commit d9eaf07

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
from time import sleep
2-
31
from reactpy import component, html
42

53

64
@component
75
def root():
8-
sleep(1)
96
return html.div("Hello, World!")
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
from time import sleep
2+
13
from reactpy import component, html
24

35

46
@component
57
def root():
8+
sleep(1)
69
return html.div({"id": "hello-world"}, "hello world")

0 commit comments

Comments
 (0)