Switch to using refs instead of owned for autofmt write block out (#2573)
This commit is contained in:
1 parent
d4831edcf7
commit
1404d26455
8 files changed
+11
-11
No files matched your search
@@ -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()
|
||||
}
|
||||
Reference in new issue
Block a user