Skip to content

Commit 504d087

Browse files
committed
Fix warnings from new tests
1 parent c6b6781 commit 504d087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_core/test_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ async def add_top(event):
566566

567567
return html.div(
568568
html.button({"id": "add-btn", "onClick": add_top}, "Add Top"),
569-
html.div({"id": "list"}, [Item(i) for i in items]),
569+
html.div({"id": "list"}, [Item(i, key=i) for i in items]),
570570
)
571571

572572
await display.show(ListContainer)

0 commit comments

Comments
 (0)