Skip to content

Commit 1f95b22

Browse files
authored
fix: link to getter function definition (#2854)
1 parent 678753f commit 1f95b22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/reactivity-core.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Takes an inner value and returns a reactive and mutable ref object, which has a
4545

4646
## computed() {#computed}
4747

48-
Takes a [getter function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set#description) and returns a readonly reactive [ref](#ref) object for the returned value from the getter. It can also take an object with `get` and `set` functions to create a writable ref object.
48+
Takes a [getter function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get#description) and returns a readonly reactive [ref](#ref) object for the returned value from the getter. It can also take an object with `get` and `set` functions to create a writable ref object.
4949

5050
- **Type**
5151

0 commit comments

Comments
 (0)