]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
Fixing typo (#599)
authorAxel Uriel Martínez Castillo <ackzell@gmail.com>
Thu, 5 Aug 2021 19:02:18 +0000 (14:02 -0500)
committerGitHub <noreply@github.com>
Thu, 5 Aug 2021 19:02:18 +0000 (21:02 +0200)
docs/cookbook/composing-stores.md

index 892d49a484685ba34af5f31e8639405ae164a040..2ddbf27068568651734499e3daa8dee90f2cbde6 100644 (file)
@@ -6,7 +6,7 @@ If **two or more stores use each other**, you must create a new store in a **sep
 
 Note that if one store uses an other store, **there is no need to create a new store in a separate file**, you can directly import it. Think of it as nesting.
 
-You can call `useOtherStore()` at the top of any getter an action:
+You can call `useOtherStore()` at the top of any getter or action:
 
 ```js
 import { useUserStore } from './user'