]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: fix getter typo (#1553)
authorJerald Vinfrank <46400789+JeraldVin@users.noreply.github.com>
Tue, 16 Aug 2022 17:26:13 +0000 (22:56 +0530)
committerGitHub <noreply@github.com>
Tue, 16 Aug 2022 17:26:13 +0000 (19:26 +0200)
packages/docs/core-concepts/getters.md

index a456393cb91b1f121d4b953a36087af472234347..9f475f48350ca0635fa10e97a6c6bfcd6e259301 100644 (file)
@@ -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',