]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: readme (#408) [skip ci]
authorSamuel Denis-D'Ortun <sam@sddproductions.com>
Fri, 26 Mar 2021 10:47:20 +0000 (06:47 -0400)
committerGitHub <noreply@github.com>
Fri, 26 Mar 2021 10:47:20 +0000 (11:47 +0100)
README.md

index 07e3def0d4556d164300157f58260669a9b7b522..b6d3326fa101d23f8b6e50ed0b4d7bba6fa7a363 100644 (file)
--- a/README.md
+++ b/README.md
@@ -138,7 +138,7 @@ export const useMainStore = defineStore({
     },
     // use getters in other getters
     doubleCountPlusOne() {
-      return this.doubleCount * 2
+      return this.doubleCount * 2 + 1
     },
   },
   // optional actions