minor crash in audio and a couple of typos

This commit is contained in:
or-else
2022-05-10 21:13:42 -07:00
parent a4d765da14
commit f9a563248b
7 changed files with 4221 additions and 6313 deletions
+1 -1
View File
@@ -9952,7 +9952,7 @@ class AudioPlayer extends (react__WEBPACK_IMPORTED_MODULE_0___default().PureComp
this.canvasContext.lineWidth = LINE_WIDTH;
const drawFrame = () => {
if (!this.canvasRef.current) {
if (!this.canvasRef.current || !this.audioPlayer) {
return;
}