From 59b9d59bb849a26caa77674430e2cc60aa628fd5 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Mon, 25 Oct 2021 15:42:15 +0200 Subject: [PATCH] test: fix warning text --- packages/pinia/src/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pinia/src/store.ts b/packages/pinia/src/store.ts index fde32a21..488c3b6e 100644 --- a/packages/pinia/src/store.ts +++ b/packages/pinia/src/store.ts @@ -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}".` ) } -- 2.47.3