]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore: typo (#280)
authorDan Kazakov <taigabrew@gmail.com>
Thu, 5 Nov 2020 08:28:44 +0000 (11:28 +0300)
committerGitHub <noreply@github.com>
Thu, 5 Nov 2020 08:28:44 +0000 (09:28 +0100)
extra column operator after return statement

README.md

index ab85d2a02a37129e0a16f5a3a8053c69c0ae0949..a82ff2434d5379a2ddac21ed6155de4e33d4bf4f 100644 (file)
--- a/README.md
+++ b/README.md
@@ -105,7 +105,7 @@ export const useMainStore = defineStore({
   // optional getters
   getters: {
     doubleCount() {
-      return this.counter * 2,
+      return this.counter * 2
     },
     // use getters in other getters
     doubleCountPlusOne() {