[web] Remove unused variables

This commit is contained in:
Alain Nussbaumer 2024-04-27 21:18:28 +02:00
parent 2c58351bec
commit 2d7776619f
3 changed files with 5 additions and 5 deletions

View File

@ -29,10 +29,10 @@ export default {
this.context = new (window.AudioContext || window.webkitAudioContext)()
const source = this.context.createMediaElementSource(this.audio)
source.connect(this.context.destination)
this.audio.addEventListener('canplaythrough', (event) => {
this.audio.addEventListener('canplaythrough', () => {
this.audio.play()
})
this.audio.addEventListener('canplay', (event) => {
this.audio.addEventListener('canplay', () => {
this.audio.play()
})
return this.audio

View File

@ -18,7 +18,7 @@ const createComparators = (criteria) =>
case Date:
return (a, b) => dateComparator(a[field], b[field]) * order
default:
return (a, b) => 0
return () => 0
}
})
@ -61,7 +61,7 @@ const createIndexer = ({ field, type } = {}) => {
case 'Digits':
return (item) => numberIndex(item[field])
default:
return (item) => NO_INDEX
return () => NO_INDEX
}
}

View File

@ -150,7 +150,7 @@ export default {
get() {
return this.$store.state.queue.items
},
set(value) {
set() {
/* Do nothing? Send move request in @end event */
}
},