]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore: split message in multiple lines
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 25 Oct 2021 12:42:22 +0000 (14:42 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 25 Oct 2021 12:42:22 +0000 (14:42 +0200)
packages/pinia/src/store.ts

index 7e27a6139cb464caf410d2490d99d8072b030637..fde32a21aa239cab459ebbddf1b29c5c18559996 100644 (file)
@@ -676,7 +676,9 @@ function createSetupStore<
     !store.$state.constructor.toString().includes('[native code]')
   ) {
     console.warn(
-      `[🍍]: The "state" must be a plain object. It cannot be\n\tstate: () => new MyClass()\nFound in store "${store.$id}".`
+      `[🍍]: The "state" must be a plain object. It cannot be\n` +
+        `\tstate: () => new MyClass() \n` +
+        `Found in store "${store.$id}".`
     )
   }