Skip to content

Commit d5a28a0

Browse files
docs: fix typo in $state (#14535)
1 parent a65e68c commit d5a28a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/02-runes/02-$state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ let total = add+++(() => a, () => b)+++;
215215
console.log(+++total()+++); // 3
216216

217217
a = 3;
218-
a = 4;
218+
b = 4;
219219
console.log(+++total()+++); // 7
220220
```
221221

0 commit comments

Comments
 (0)