]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
test: fix warning text
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 25 Oct 2021 13:42:15 +0000 (15:42 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 25 Oct 2021 13:42:15 +0000 (15:42 +0200)
packages/pinia/src/store.ts

index fde32a21aa239cab459ebbddf1b29c5c18559996..488c3b6e59ba885a807ba193532379a84de75edf 100644 (file)
@@ -677,7 +677,7 @@ function createSetupStore<
   ) {
     console.warn(
       `[🍍]: The "state" must be a plain object. It cannot be\n` +
-        `\tstate: () => new MyClass() \n` +
+        `\tstate: () => new MyClass()\n` +
         `Found in store "${store.$id}".`
     )
   }