From dc2924cafafa7c65ad3ce2afa10ae322a082bb77 Mon Sep 17 00:00:00 2001 From: Igor Loskutov Date: Thu, 19 Jun 2025 12:46:38 -0400 Subject: [PATCH] ai review partial fix --- .../(app)/transcripts/[transcriptId]/correct/topicPlayer.tsx | 2 +- www/app/(app)/transcripts/[transcriptId]/page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/app/(app)/transcripts/[transcriptId]/correct/topicPlayer.tsx b/www/app/(app)/transcripts/[transcriptId]/correct/topicPlayer.tsx index 830a7c69..3d07e3d9 100644 --- a/www/app/(app)/transcripts/[transcriptId]/correct/topicPlayer.tsx +++ b/www/app/(app)/transcripts/[transcriptId]/correct/topicPlayer.tsx @@ -183,7 +183,7 @@ const TopicPlayer = ({ setIsPlaying(false); }; - const isLoaded = !!(mp3.loading && topicTime); + const isLoaded = !mp3.loading && !!topicTime const error = mp3.error; if (error !== null) { return diff --git a/www/app/(app)/transcripts/[transcriptId]/page.tsx b/www/app/(app)/transcripts/[transcriptId]/page.tsx index f40beec7..dde9eb6e 100644 --- a/www/app/(app)/transcripts/[transcriptId]/page.tsx +++ b/www/app/(app)/transcripts/[transcriptId]/page.tsx @@ -87,7 +87,7 @@ export default function TranscriptDetails(details: TranscriptDetails) { mediaDuration={transcript.response.duration} /> ) : waveform.error ? ( -
"error loading this recording"
+
error loading this recording
) : mp3.audioDeleted ? (
Audio was deleted
) : (