Skip to content

Commit 9712134

Browse files
committed
update to new app starting API
1 parent 5b5b807 commit 9712134

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

frameworks/keyed/yew/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)