Skip to content

Commit

Permalink
fix(catalog): Fix lists typing
Browse files Browse the repository at this point in the history
  • Loading branch information
paveldedik committed Feb 7, 2025
1 parent eb9be70 commit 337b504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ludic/catalog/lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def render(self) -> li:
return li(*self.children, **self.attrs)


class List(Component[Item | str, GlobalAttrs]):
class List(Component[AnyChildren, GlobalAttrs]):
"""Simple component simulating a list.
There is basically just an alias for the :class:`ul` element
Expand Down

0 comments on commit 337b504

Please sign in to comment.