mirror of
https://github.com/koel/koel
synced 2024-11-28 06:50:27 +00:00
chore: remove useless safe check
This commit is contained in:
parent
7c7886404a
commit
7c2b432765
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class AudioAnalyser {
|
|||
|
||||
if (!this.audio.paused) {
|
||||
this.analyser.getByteFrequencyData(this.bands)
|
||||
this.onUpdate?.(this.bands)
|
||||
this.onUpdate(this.bands)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue