Skip to content

Commit 29e6e70

Browse files
authored
Update computeds.md (#4605)
1 parent 7272e33 commit 29e6e70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/computeds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Even though we change the `amount`, and this will trigger the `total` to recompu
8282
it won't trigger the `autorun`, as `total` will detect its output hasn't been affected, so there is no need to update the `autorun`.
8383

8484
In comparison, if `total` would not be annotated, the `autorun` would run its effect 3 times,
85-
as it would directly depend on `total` and `amount`. [Try it out yourself](https://codesandbox.io/s/computed-3cjo9?file=/src/index.tsx).
85+
as it would directly depend on `price` and `amount`. [Try it out yourself](https://codesandbox.io/s/computed-3cjo9?file=/src/index.tsx).
8686

8787
![computed graph](assets/computed-example.png)
8888

0 commit comments

Comments
 (0)