fix: rename unmount lifecycles
This commit is contained in:
@@ -25,7 +25,7 @@ export const ClickOutsideMixin = (config) => ({
|
||||
on(document, config.event, this.clickOutsideHandler);
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
off(document, config.event, this.clickOutsideHandler);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user