Skip to content

Commit 30a0c11

Browse files
committed
updated vue lifecycle hook
1 parent 3375d30 commit 30a0c11

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vua-redux",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"description": "vue redux binding higher order component",
55
"author": "Nadim Tuhin",
66
"repository": {

src/connect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default function connect(mapStateAsProps = noop, mapActionsAsProps = noop
5353
});
5454
},
5555

56-
destroyed() {
56+
beforeDestroy() {
5757
this.unsubscribe();
5858
}
5959
};

0 commit comments

Comments
 (0)