Skip to content

Commit 494b311

Browse files
committed
remove async event handler
1 parent 4b187cc commit 494b311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/examples/slideshow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
def Slideshow():
66
index, set_index = idom.hooks.use_state(0)
77

8-
async def next_image(event):
8+
def next_image(event):
99
set_index(index + 1)
1010

1111
return idom.html.img(

0 commit comments

Comments
 (0)