]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
Add missing comma (#2293)
authorReza Rabbani <50789773+thrashzone13@users.noreply.github.com>
Fri, 30 Jun 2023 14:38:45 +0000 (16:38 +0200)
committerGitHub <noreply@github.com>
Fri, 30 Jun 2023 14:38:45 +0000 (16:38 +0200)
packages/docs/core-concepts/state.md

index 82b754b9604e374901b1b909ade169b4ae3bf1a0..0e5c561ac1ffde78e24a2dcd14d87ba5d71f50dc 100644 (file)
@@ -172,7 +172,7 @@ export default {
     // gives access to this.count inside the component and allows setting it
     // this.count++
     // same as reading from store.count
-    ...mapWritableState(useCounterStore, ['count'])
+    ...mapWritableState(useCounterStore, ['count']),
     // same as above but registers it as this.myOwnName
     ...mapWritableState(useCounterStore, {
       myOwnName: 'count',