mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-22 05:09:05 +00:00
remove timeout
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user