Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Lendemor committed Feb 6, 2025
1 parent a35c1b7 commit e647f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reflex/components/tags/iter_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def render_component(self) -> Component:
raise ValueError("The render function must take 2 arguments.")
component = self.render_fn(arg, index)

# Nested foreach components, cond must be wrapped in fragments.
# Nested foreach components or cond must be wrapped in fragments.
if isinstance(component, (Foreach, Cond)):
component = Fragment.create(component)

Expand Down

0 comments on commit e647f5f

Please sign in to comment.