]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore: remove unused param
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 28 Oct 2021 09:24:12 +0000 (11:24 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 28 Oct 2021 09:24:12 +0000 (11:24 +0200)
packages/pinia/src/store.ts

index 67bf47ab49c49de43ae8508f0c150b371701b29e..8003155404f8f87d83f778e0682871184c8ad8d9 100644 (file)
@@ -379,7 +379,7 @@ function createSetupStore<
       const stopWatcher = scope.run(() =>
         watch(
           () => pinia.state.value[$id] as UnwrapRef<S>,
-          (state, oldState) => {
+          (state) => {
             if (isListening) {
               callback(
                 {