]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
Update composing-stores.md
authorEduardo San Martin Morote <posva@users.noreply.github.com>
Sun, 7 Jul 2024 10:13:57 +0000 (18:13 +0800)
committerGitHub <noreply@github.com>
Sun, 7 Jul 2024 10:13:57 +0000 (18:13 +0800)
packages/docs/cookbook/composing-stores.md

index c745f36d11661044ac7d49d59bb46ff3d7448cef..1c4cae0be72dd67133595eb572f70c01c93ed99f 100644 (file)
@@ -67,7 +67,7 @@ export const useCartStore = defineStore('cart', () => {
 
 ## Shared Getters
 
-You can simply call `useOtherStore()` inside a _getter_:
+You can simply call `useUserStore()` inside a _getter_:
 
 ```js
 import { defineStore } from 'pinia'