From cbbed6346a437e6b9f05f646f1df0c77d2fb36eb Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Sat, 4 Jun 2022 22:40:48 +0200 Subject: Migrate to VueJS 3 --- src/components/SearchInput.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/SearchInput.vue') diff --git a/src/components/SearchInput.vue b/src/components/SearchInput.vue index 165c992..53480e7 100644 --- a/src/components/SearchInput.vue +++ b/src/components/SearchInput.vue @@ -75,7 +75,7 @@ export default { this.$emit("input", value.toLowerCase()); }, }, - beforeDestroy() { + beforeUnmount() { document.removeEventListener("keydown", this._keyListener); }, }; -- cgit v1.2.3