From bb821c6abf30c0a45a8350f466f7b0805b26563c Mon Sep 17 00:00:00 2001 From: Philippe Fontaine Date: Mon, 28 Feb 2022 11:40:59 -0500 Subject: [PATCH] chore: bug in README example [skip ci] (#1101) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3