Skip to content

Commit

Permalink
Merge pull request #27 from inmar/vue3/beforeDestroy
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-heimbuch authored Oct 5, 2021
2 parents 189006e + 8492e6b commit 2295211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/legacy/mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const connect = ({ app, store, actions = {}, binding = 'store' }) => {
this.unsubscribe = store.subscribe(syncStateWithComponent(this, this.REDUX_VUEX_BINDINGS))
}
},
beforeDestroy() {
beforeUnmount() {
this.unsubscribe && this.unsubscribe()
}
})
Expand Down

0 comments on commit 2295211

Please sign in to comment.