Merge pull request #250 from Monadical-SAS/topic-markers-waveform

Topic markers now appear on the waveform of saved transcripts
This commit is contained in:
Andreas Bonini
2023-09-26 16:43:11 +01:00
committed by GitHub

View File

@@ -138,7 +138,7 @@ export default function Recorder(props: RecorderProps) {
useEffect(() => {
topicsRef.current = props.topics;
if (!isRecording) renderMarkers();
}, [props.topics]);
}, [props.topics, waveRegions]);
const renderMarkers = () => {
if (!waveRegions) return;