Browse Source

Merge pull request #700 from InfamousVague/patch-1

Jon Kelley 2 years ago
parent
commit
fd86420c08
1 changed files with 1 additions and 1 deletions
  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"