]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: fix options api syntax (#1140)
authorNik <8dsrqddx@anonaddy.me>
Sat, 12 Mar 2022 20:33:35 +0000 (02:03 +0530)
committerGitHub <noreply@github.com>
Sat, 12 Mar 2022 20:33:35 +0000 (21:33 +0100)
packages/docs/cookbook/options-api.md

index 28905d672ce805aeabf845df6ec354cdf4825027..b74972a43a93598d6dae980674844960136a8f29 100644 (file)
@@ -27,8 +27,7 @@ export default {
   computed: {
     // note we are not passing an array, just one store after the other
     // each store will be accessible as its id + 'Store'
-    ...mapStores(useCartStore, useUserStore),
-    }),
+    ...mapStores(useCartStore, useUserStore)
   },
 
   methods: {