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
@@ -13,7 +13,7 @@ fn web_components_translate() {
|
||||
|
||||
let body = rsx_rosetta::rsx_from_html(&dom);
|
||||
|
||||
let out = dioxus_autofmt::write_block_out(body).unwrap();
|
||||
let out = dioxus_autofmt::write_block_out(&body).unwrap();
|
||||
|
||||
let expected = r#"
|
||||
div {
|
||||
|
||||
Reference in new issue
Block a user