Skip to content

Commit 46d6e3f

Browse files
authored
fix compile of leptos dom (leptos-rs#535)
1 parent 586f524 commit 46d6e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leptos_dom/src/ssr_in_order.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ impl View {
170170
for child in node.children {
171171
child.into_stream_chunks_helper(cx, chunks);
172172
}
173-
chunks.push(StreamChunk::Sync(format!(r#"<!--hk={}-->"#, HydrationCtx::to_string(&node.id, true))))
173+
chunks.push(StreamChunk::Sync(format!(r#"<!--hk={}-->"#, HydrationCtx::to_string(&node.id, true)).into()))
174174
}
175175
}
176176
}

0 commit comments

Comments
 (0)