소스 검색

Merge pull request #700 from InfamousVague/patch-1

Jon Kelley 2 년 전
부모
커밋
fd86420c08
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/multiwindow.rs

+ 1 - 1
examples/multiwindow.rs

@@ -12,7 +12,7 @@ fn app(cx: Scope) -> Element {
         div {
             button {
                 onclick: move |_| {
-                    let dom = VirtualDom::new(app);
+                    let dom = VirtualDom::new(popup);
                     window.new_window(dom, Default::default());
                 },
                 "New Window"