From: Reza Rabbani <50789773+thrashzone13@users.noreply.github.com> Date: Fri, 30 Jun 2023 14:38:45 +0000 (+0200) Subject: Add missing comma (#2293) X-Git-Tag: @pinia/testing@0.1.3~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f9c1e71f9da9e341c400b61fc81445f2a18fa135;p=thirdparty%2Fvuejs%2Fpinia.git Add missing comma (#2293) --- diff --git a/packages/docs/core-concepts/state.md b/packages/docs/core-concepts/state.md index 82b754b9..0e5c561a 100644 --- a/packages/docs/core-concepts/state.md +++ b/packages/docs/core-concepts/state.md @@ -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',