mirror of https://github.com/FreeTubeApp/FreeTube
Remove unnecessary 'async function' in mounted
This commit is contained in:
parent
807fa750c5
commit
27aec4c48b
|
@ -259,7 +259,7 @@ export default defineComponent({
|
|||
|
||||
this.updateQueryDebounce = debounce(this.updateQuery, 500)
|
||||
},
|
||||
mounted: async function () {
|
||||
mounted: function () {
|
||||
document.addEventListener('keydown', this.keyboardShortcutHandler)
|
||||
},
|
||||
beforeDestroy: function () {
|
||||
|
|
|
@ -80,7 +80,7 @@ export default defineComponent({
|
|||
this.dataLimit = this.initialDataLimit
|
||||
}
|
||||
},
|
||||
mounted: async function () {
|
||||
mounted: function () {
|
||||
document.addEventListener('keydown', this.keyboardShortcutHandler)
|
||||
},
|
||||
beforeDestroy: function () {
|
||||
|
|
Loading…
Reference in New Issue