Skip to content

Commit

Permalink
Fixup typo: couter -> counter (lapce#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
domesticmouse authored Aug 28, 2023
1 parent cd17ce1 commit 8887ea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ It's still early days so expect lots of things missing!
```rust
fn app_view() -> impl View {
// create a counter reactive signal with initial value 0
let (couter, set_counter) = create_signal(0);
let (counter, set_counter) = create_signal(0);

// create user interface with Floem view functions
stack(|| {
(
label(move || format!("Value: {}", couter.get())),
label(move || format!("Value: {}", counter.get())),
stack(|| {
(
label(|| "Increment".to_string())
Expand Down

0 comments on commit 8887ea0

Please sign in to comment.