mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 14:54:16 +00:00
Fix TodoMVC example
This commit is contained in:
parent
aa3dd356c1
commit
fd3443b129
1 changed files with 1 additions and 1 deletions
|
@ -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/> })
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue