audio: fix compat/compat eslint error
This commit is contained in:
parent
1640c2bc87
commit
14e296fb90
1 changed files with 1 additions and 0 deletions
|
@ -297,6 +297,7 @@ const Audio: React.FC<IAudio> = (props) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const _renderCanvas = () => {
|
const _renderCanvas = () => {
|
||||||
|
// eslint-disable-next-line compat/compat
|
||||||
requestAnimationFrame(() => {
|
requestAnimationFrame(() => {
|
||||||
if (!audio.current) return;
|
if (!audio.current) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue