Skip to content

Commit

Permalink
docs fix typo in example for watch
Browse files Browse the repository at this point in the history
  • Loading branch information
AloisSeckar committed Sep 13, 2024
1 parent dab4809 commit c414bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/reactivity-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ Watches one or more reactive data sources and invokes a callback function when t
Pausing / resuming the watcher: <sup class="vt-badge" data-text="3.5+" />
```js
const { stop, pause, resume } = watchEffect(() => {})
const { stop, pause, resume } = watch(() => {})

// temporarily pause the watcher
pause()
Expand Down

0 comments on commit c414bd2

Please sign in to comment.