Skip to content

Commit

Permalink
docs: fix incorrect variable name (#1623)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaareth authored Sep 1, 2023
1 parent 7c51815 commit bcfa430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/src/async/11_suspense.md
Original file line number Diff line number Diff line change
Expand Up @@ -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! {
<h1>"My Data"</h1>
Expand Down

0 comments on commit bcfa430

Please sign in to comment.