audio: fix compat/compat eslint error

This commit is contained in:
Alex Gleason 2023-09-16 12:21:37 -05:00
parent 1640c2bc87
commit 14e296fb90
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -297,6 +297,7 @@ const Audio: React.FC<IAudio> = (props) => {
};
const _renderCanvas = () => {
// eslint-disable-next-line compat/compat
requestAnimationFrame(() => {
if (!audio.current) return;