We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8242f53 commit fc402b1Copy full SHA for fc402b1
1 file changed
packages/yew/src/html/conversion/into_prop_value.rs
@@ -170,7 +170,10 @@ impl IntoPropValue<VNode> for ChildrenRenderer<VNode> {
170
impl IntoPropValue<VNode> for &ChildrenRenderer<VNode> {
171
#[inline]
172
fn into_prop_value(self) -> VNode {
173
- VNode::VList(Rc::new(self.clone().into()))
+ VNode::VList(Rc::new(VList::with_children(
174
+ self.children.iter().cloned().collect(),
175
+ None,
176
+ )))
177
}
178
179
0 commit comments