File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/yew/src/html/conversion Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ where
143143impl IntoPropValue < VNode > for VList {
144144 #[ inline]
145145 fn into_prop_value ( self ) -> VNode {
146- VNode :: VList ( self )
146+ VNode :: VList ( Rc :: new ( self ) )
147147 }
148148}
149149impl IntoPropValue < VNode > for VText {
@@ -163,7 +163,7 @@ impl IntoPropValue<VNode> for () {
163163impl IntoPropValue < VNode > for ChildrenRenderer < VNode > {
164164 #[ inline]
165165 fn into_prop_value ( self ) -> VNode {
166- VNode :: VList ( self . into ( ) )
166+ VNode :: VList ( Rc :: new ( self . into ( ) ) )
167167 }
168168}
169169
@@ -204,7 +204,7 @@ impl IntoPropValue<ChildrenRenderer<VNode>> for AttrValue {
204204impl IntoPropValue < VNode > for Vec < VNode > {
205205 #[ inline]
206206 fn into_prop_value ( self ) -> VNode {
207- VNode :: VList ( VList :: with_children ( self , None ) )
207+ VNode :: VList ( Rc :: new ( VList :: with_children ( self , None ) ) )
208208 }
209209}
210210
You can’t perform that action at this time.
0 commit comments