Fix TodoMVC example

This commit is contained in:
Greg Johnston 2022-11-05 23:27:36 -04:00
parent aa3dd356c1
commit fd3443b129

View file

@ -4,5 +4,5 @@ fn main() {
console_error_panic_hook::set_once();
_ = console_log::init_with_level(log::Level::Debug);
console_error_panic_hook::set_once();
mount_to_body(|cx| view! { cx, <TodoMVC todos=Todos::new(cx)/> })
mount_to_body(|cx| view! { cx, <TodoMVC/> })
}