Update list high-level API (#543)

This commit is contained in:
Thomas Brandého 2023-02-16 07:07:43 +01:00 committed by GitHub
parent 6c81a5bf94
commit b4fb0df9ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ class List(ChakraComponent):
if len(children) == 0:
children = []
for item in items or []:
children.append(ListItem.create(*item))
children.append(ListItem.create(item))
return super().create(*children, **props)