example: restore ErrorBoundary

This commit is contained in:
Greg Johnston 2024-05-30 17:15:54 -04:00
parent a6cee3b1e9
commit 47331b5c8d
2 changed files with 2 additions and 2 deletions

View file

@ -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>
}