fix mp3 auth

This commit is contained in:
Sara
2023-11-03 12:20:23 +01:00
parent 827dd6d406
commit 2c86775bc2
2 changed files with 10 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ export default function TranscriptDetails(details: TranscriptDetails) {
const topics = useTopics(protectedPath, transcriptId);
const waveform = useWaveform(protectedPath, transcriptId);
const useActiveTopic = useState<Topic | null>(null);
const mp3 = useMp3(api, transcriptId);
const mp3 = useMp3(protectedPath, transcriptId);
if (transcript?.error /** || topics?.error || waveform?.error **/) {
return (