chore: remove useless safe check

This commit is contained in:
Phan An 2022-10-29 00:29:31 +02:00
parent 7c7886404a
commit 7c2b432765
No known key found for this signature in database
GPG key ID: A81E4477F0BB6FDC

View file

@ -63,7 +63,7 @@ class AudioAnalyser {
if (!this.audio.paused) {
this.analyser.getByteFrequencyData(this.bands)
this.onUpdate?.(this.bands)
this.onUpdate(this.bands)
}
}
}