remove timeout

This commit is contained in:
Sara
2023-11-08 16:24:09 +01:00
parent 92b728363e
commit 68ee6a20a4
3 changed files with 2 additions and 17 deletions

View File

@@ -23,7 +23,6 @@ const useWaveform = (protectedPath, id: string): AudioWaveFormResponse => {
useEffect(() => {
if (!id || !api) return;
console.log("hee");
setLoading(true);
const requestParameters: V1TranscriptGetAudioWaveformRequest = {
transcriptId: id,
@@ -37,6 +36,7 @@ const useWaveform = (protectedPath, id: string): AudioWaveFormResponse => {
})
.catch((err) => {
setErrorState(err);
console.log(err);
const shouldShowHuman = shouldShowError(err);
if (shouldShowHuman) {
setError(err, "There was an error loading the waveform");