Remove player from record page

This commit is contained in:
2024-06-17 21:48:16 +02:00
parent 130c4f2bd9
commit 140a38a322

View File

@@ -72,18 +72,7 @@ const TranscriptRecord = (details: TranscriptDetails) => {
mt={4}
mb={4}
>
{status == "processing" && // todo send an event when the mp3 is ready
webSockets.waveform &&
webSockets.duration &&
mp3?.media ? (
<Player
topics={webSockets.topics || []}
useActiveTopic={useActiveTopic}
waveform={webSockets.waveform}
media={mp3.media}
mediaDuration={webSockets.duration}
/>
) : status == "processing" ? (
{status == "processing" ? (
<WaveformLoading />
) : (
// todo: only start recording animation when you get "recorded" status