From: Philippe Fontaine Date: Mon, 28 Feb 2022 16:40:59 +0000 (-0500) Subject: chore: bug in README example [skip ci] (#1101) X-Git-Tag: @pinia/testing@0.0.10~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb821c6abf30c0a45a8350f466f7b0805b26563c;p=thirdparty%2Fvuejs%2Fpinia.git chore: bug in README example [skip ci] (#1101) --- diff --git a/README.md b/README.md index d1cdb8a9..04a52eec 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ export const useMainStore = defineStore('main', { doubleCount: (state) => state.counter * 2, // use getters in other getters doubleCountPlusOne(): number { - return this.doubleCount * 2 + 1 + return this.doubleCount + 1 }, }, // optional actions