소스 검색

fix example

Jonathan Kelley 2 년 전
부모
커밋
6a4979b574
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/rsx-rosetta/examples/html.rs

+ 1 - 1
packages/rsx-rosetta/examples/html.rs

@@ -16,7 +16,7 @@ fn main() {
 
     let dom = Dom::parse(html).unwrap();
 
-    let body = rsx_rosetta::rsx_from_html(dom);
+    let body = rsx_rosetta::rsx_from_html(&dom);
 
     let out = dioxus_autofmt::write_block_out(body).unwrap();