From 1d99b7ca04f1a1a7edd25d3e59d057919fccb611 Mon Sep 17 00:00:00 2001 From: Tarek Date: Thu, 12 Oct 2023 16:44:46 +0200 Subject: [PATCH] make use of interface --- src/components/shared/AudioViewer/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } };