Skip to content

Commit bab3422

Browse files
fix: docs typo in $state
1 parent a65e68c commit bab3422

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)