From: Jerald Vinfrank <46400789+JeraldVin@users.noreply.github.com> Date: Tue, 16 Aug 2022 17:26:13 +0000 (+0530) Subject: docs: fix getter typo (#1553) X-Git-Tag: @pinia/nuxt@0.4.1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad0b6d6c8e92c84374a8115e19407c0eaff1818d;p=thirdparty%2Fvuejs%2Fpinia.git docs: fix getter typo (#1553) --- diff --git a/packages/docs/core-concepts/getters.md b/packages/docs/core-concepts/getters.md index a456393c..9f475f48 100644 --- a/packages/docs/core-concepts/getters.md +++ b/packages/docs/core-concepts/getters.md @@ -224,7 +224,7 @@ export default { computed: { // gives access to this.doubleCounter inside the component // same as reading from store.doubleCounter - ...mapState(useCounterStore, ['doubleCount']), + ...mapState(useCounterStore, ['doubleCounter']), // same as above but registers it as this.myOwnName ...mapState(useCounterStore, { myOwnName: 'doubleCounter',