mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user