Skip to content

Commit

Permalink
make use of interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarek committed Oct 12, 2023
1 parent 07f7141 commit 1d99b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/shared/AudioViewer/index.tsx
Original file line number Diff line number Diff line change
@@ -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;
}
};

0 comments on commit 1d99b7c

Please sign in to comment.