Skip to content

Commit 9da074b

Browse files
committed
also update app starting in baseline example
1 parent 9712134 commit 9da074b

File tree

1 file changed

+1
-1
lines changed
  • frameworks/keyed/yew-baseline/src

1 file changed

+1
-1
lines changed

frameworks/keyed/yew-baseline/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,5 +313,5 @@ impl Component for Row {
313313
pub fn start() {
314314
let document = window().unwrap().document().unwrap();
315315
let mount_el = document.query_selector("#main").unwrap().unwrap();
316-
App::<Model>::new().mount(mount_el);
316+
yew::start_app_in_element::<Model>(mount_el);
317317
}

0 commit comments

Comments
 (0)