From 99de83c06054335384b7aa73d43906de62bc7f49 Mon Sep 17 00:00:00 2001 From: Renato Lacerda Date: Tue, 3 Sep 2024 10:55:02 -0300 Subject: [PATCH] Update watchers.md --- src/guide/essentials/watchers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/essentials/watchers.md b/src/guide/essentials/watchers.md index e6558e4844..3966d6c2cb 100644 --- a/src/guide/essentials/watchers.md +++ b/src/guide/essentials/watchers.md @@ -448,7 +448,7 @@ export default { Note that `onWatcherCleanup` is only supported in Vue 3.5+ and must be called during the synchronous execution of a `watchEffect` effect function or `watch` callback function: you cannot call it after an `await` statement in an async function. -Alternaitvely, an `onCleanup` function is also passed to watcher callbacks as the 3rd argument, and to the `watchEffect` effect function as the first argument: +Alternatively, an `onCleanup` function is also passed to watcher callbacks as the 3rd argument, and to the `watchEffect` effect function as the first argument: