mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Remove player from record page
This commit is contained in:
@@ -72,18 +72,7 @@ const TranscriptRecord = (details: TranscriptDetails) => {
|
|||||||
mt={4}
|
mt={4}
|
||||||
mb={4}
|
mb={4}
|
||||||
>
|
>
|
||||||
{status == "processing" && // todo send an event when the mp3 is ready
|
{status == "processing" ? (
|
||||||
webSockets.waveform &&
|
|
||||||
webSockets.duration &&
|
|
||||||
mp3?.media ? (
|
|
||||||
<Player
|
|
||||||
topics={webSockets.topics || []}
|
|
||||||
useActiveTopic={useActiveTopic}
|
|
||||||
waveform={webSockets.waveform}
|
|
||||||
media={mp3.media}
|
|
||||||
mediaDuration={webSockets.duration}
|
|
||||||
/>
|
|
||||||
) : status == "processing" ? (
|
|
||||||
<WaveformLoading />
|
<WaveformLoading />
|
||||||
) : (
|
) : (
|
||||||
// todo: only start recording animation when you get "recorded" status
|
// todo: only start recording animation when you get "recorded" status
|
||||||
|
|||||||
Reference in New Issue
Block a user