Switch to using refs instead of owned for autofmt write block out (#2573)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-07-02 12:27:11 -07:00
1 parent d4831edcf7
commit 1404d26455
8 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -89,5 +89,5 @@ pub fn translate_rsx(contents: String, _component: bool) -> String {
let callbody = rsx_rosetta::rsx_from_html(&dom);
// Convert the HTML to RSX
dioxus_autofmt::write_block_out(callbody).unwrap()
dioxus_autofmt::write_block_out(&callbody).unwrap()
}