We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8b1b4e commit 3839312Copy full SHA for 3839312
src/backend/vuex.js
@@ -146,7 +146,7 @@ export function initVuexBackend (hook, bridge) {
146
// Replay mutations
147
for (let i = snapshot.index + 1; i <= index; i++) {
148
const mutation = mutations[i]
149
- mutation.handlers.forEach(handler => handler(state, mutation.payload))
+ mutation.handlers.forEach(handler => handler(mutation.payload))
150
if (i !== index && i % SharedData.cacheVuexSnapshotsEvery === 0) {
151
takeSnapshot(i, state)
152
}
0 commit comments