diff --git a/src/components/shared/AudioViewer/index.tsx b/src/components/shared/AudioViewer/index.tsx index 08a69988..1ff0c631 100644 --- a/src/components/shared/AudioViewer/index.tsx +++ b/src/components/shared/AudioViewer/index.tsx @@ -422,7 +422,7 @@ const AudioViewer = ({ if (!waveform.current) return; setLooping(enabled); - waveform.current.backend.media.loop = enabled; + (waveform.current.backend as unknown as WebAudio).media.loop = enabled; } };