Skip to content

Commit a5515b0

Browse files
author
Nik
authored
docs: fix options api syntax (#1140)
1 parent 85992e9 commit a5515b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/docs/cookbook/options-api.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ export default {
2727
computed: {
2828
// note we are not passing an array, just one store after the other
2929
// each store will be accessible as its id + 'Store'
30-
...mapStores(useCartStore, useUserStore),
31-
}),
30+
...mapStores(useCartStore, useUserStore)
3231
},
3332

3433
methods: {

0 commit comments

Comments
 (0)