]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: typos (#2099)
authorArtur Carvalho <arturbelico@gmail.com>
Mon, 3 Apr 2023 09:22:54 +0000 (11:22 +0200)
committerGitHub <noreply@github.com>
Mon, 3 Apr 2023 09:22:54 +0000 (11:22 +0200)
packages/docs/core-concepts/actions.md

index 52b355d2dc849e71cda9cf018ebc05804f8f7cdd..5550c69ca100ccc0f07632bb2c8d6f28b3c5a32b 100644 (file)
@@ -166,7 +166,7 @@ export default {
 
 ## Subscribing to actions
 
-It is possible to observe actions and their outcome with `store.$onAction()`. The callback passed to it is executed before the action itself. `after` handle promises and allows you to execute a function after the action resolves. In a similar way, `onError` allows you execute a function if the action throws or rejects. These are useful for tracking errors at runtime, similar to [this tip in the Vue docs](https://v3.vuejs.org/guide/tooling/deployment.html#tracking-runtime-errors).
+It is possible to observe actions and their outcome with `store.$onAction()`. The callback passed to it is executed before the action itself. `after` handles promises and allows you to execute a function after the action resolves. In a similar way, `onError` allows you to execute a function if the action throws or rejects. These are useful for tracking errors at runtime, similar to [this tip in the Vue docs](https://v3.vuejs.org/guide/tooling/deployment.html#tracking-runtime-errors).
 
 Here is an example that logs before running actions and after they resolve/reject.