From ee8296743d82199bc1db0f33ab5180f51e6f6cea Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Thu, 28 Oct 2021 11:24:12 +0200 Subject: [PATCH] chore: remove unused param --- 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 67bf47ab..80031554 100644 --- a/packages/pinia/src/store.ts +++ b/packages/pinia/src/store.ts @@ -379,7 +379,7 @@ function createSetupStore< const stopWatcher = scope.run(() => watch( () => pinia.state.value[$id] as UnwrapRef, - (state, oldState) => { + (state) => { if (isListening) { callback( { -- 2.47.3