From: Eduardo San Martin Morote Date: Thu, 28 Oct 2021 09:24:12 +0000 (+0200) Subject: chore: remove unused param X-Git-Tag: pinia@2.0.1~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee8296743d82199bc1db0f33ab5180f51e6f6cea;p=thirdparty%2Fvuejs%2Fpinia.git chore: remove unused param --- 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( {