From: Nik <8dsrqddx@anonaddy.me> Date: Sat, 12 Mar 2022 20:33:35 +0000 (+0530) Subject: docs: fix options api syntax (#1140) X-Git-Tag: @pinia/testing@0.0.10~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5515b06334cf4fbdb9a8fd78f2e93660b48e51e;p=thirdparty%2Fvuejs%2Fpinia.git docs: fix options api syntax (#1140) --- diff --git a/packages/docs/cookbook/options-api.md b/packages/docs/cookbook/options-api.md index 28905d67..b74972a4 100644 --- a/packages/docs/cookbook/options-api.md +++ b/packages/docs/cookbook/options-api.md @@ -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: {