diff --git a/docs/book/src/async/11_suspense.md b/docs/book/src/async/11_suspense.md index 099d8a034..83957bb04 100644 --- a/docs/book/src/async/11_suspense.md +++ b/docs/book/src/async/11_suspense.md @@ -4,7 +4,7 @@ In the previous chapter, we showed how you can create a simple loading screen to ```rust let (count, set_count) = create_signal(0); -let a = create_resource(count, |count| async move { load_a(count).await }); +let once = create_resource(count, |count| async move { load_a(count).await }); view! {

"My Data"