Skip to content

Commit a666b14

Browse files
committed
Update migration guide with correct v3 counter increment example
1 parent 9ea195f commit a666b14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs-v2/src/content/docs/migration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Use `.value` assignment instead.
7373
counter.updateValue((v) => v + 1);
7474
7575
// v3
76-
counter.value = counter.untrackedValue + 1;
76+
counter.value += 1;
7777
```
7878

7979
**Comparator change:**

0 commit comments

Comments
 (0)