]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: fixed naming for reference to other store in action (#407)
authorAleksander Rekść <a.reksc@gmail.com>
Thu, 25 Mar 2021 13:46:38 +0000 (14:46 +0100)
committerGitHub <noreply@github.com>
Thu, 25 Mar 2021 13:46:38 +0000 (14:46 +0100)
docs/core-concepts/actions.md

index 319accc08d8c4aad93b8ffdb7c7536910c3fca65..6da871aae126e05cd16b16ef5cc20d794b201929 100644 (file)
@@ -37,7 +37,7 @@ export default defineComponent({
 To use another store, you can directly _use it_ inside of the _getter_:
 
 ```js
-import { useOtherStore } from './other-store'
+import { useAuthStore } from './auth-store'
 
 export const useSettingsStore = defineStore({
   id: 'settings',