Skip to content

Commit 04ea635

Browse files
authored
docs: fix returned value (#3052)
1 parent 053687f commit 04ea635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/cookbook/composing-stores.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const useCartStore = defineStore('cart', () => {
6565
return apiPurchase(user.id, list.value)
6666
}
6767

68-
return { summary, purchase }
68+
return { list, summary, purchase }
6969
})
7070
```
7171

0 commit comments

Comments
 (0)