]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: fix import `useUserStore` (#754)
authorTony OHagan <tony@ohagan.name>
Fri, 29 Oct 2021 08:32:32 +0000 (18:32 +1000)
committerGitHub <noreply@github.com>
Fri, 29 Oct 2021 08:32:32 +0000 (10:32 +0200)
packages/docs/cookbook/composing-stores.md

index 0cab027793bd84ce2069dc496cb1608564fe3cd2..34cdbcf934070c23d2a4fffd00d29da683d00f4a 100644 (file)
@@ -94,7 +94,7 @@ The same applies to _actions_:
 
 ```js
 import { defineStore } from 'pinia'
-import { useCartStore } from './cart'
+import { useUserStore } from './user'
 
 export const useCartStore = defineStore('cart', {
   actions: {