mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
example: restore ErrorBoundary
This commit is contained in:
parent
a6cee3b1e9
commit
47331b5c8d
2 changed files with 2 additions and 2 deletions
Binary file not shown.
|
@ -124,7 +124,7 @@ pub fn Todos() -> impl IntoView {
|
|||
</MultiActionForm>
|
||||
<div>
|
||||
<Transition fallback=move || view! { <p>"Loading..."</p> }>
|
||||
//<ErrorBoundary fallback=|errors| view! { <ErrorTemplate errors/> }>
|
||||
<ErrorBoundary fallback=|errors| view! { <ErrorTemplate errors/> }>
|
||||
// {existing_todos}
|
||||
<ul>
|
||||
{move || {
|
||||
|
@ -171,7 +171,7 @@ pub fn Todos() -> impl IntoView {
|
|||
}}
|
||||
|
||||
</ul>
|
||||
//</ErrorBoundary>
|
||||
</ErrorBoundary>
|
||||
</Transition>
|
||||
</div>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue