From 4103fd82deb4417347bbaf2867b496723616189a Mon Sep 17 00:00:00 2001 From: Sara Date: Wed, 8 Nov 2023 17:40:55 +0100 Subject: [PATCH] remove console logs --- www/app/[domain]/transcripts/useTranscript.ts | 1 - www/app/[domain]/transcripts/useWaveform.ts | 1 - www/app/lib/getApi.ts | 2 -- 3 files changed, 4 deletions(-) diff --git a/www/app/[domain]/transcripts/useTranscript.ts b/www/app/[domain]/transcripts/useTranscript.ts index 7d52429c..af60cd3b 100644 --- a/www/app/[domain]/transcripts/useTranscript.ts +++ b/www/app/[domain]/transcripts/useTranscript.ts @@ -37,7 +37,6 @@ const useTranscript = ( }) .catch((error) => { const shouldShowHuman = shouldShowError(error); - console.log({ ...error }); if (shouldShowHuman) { setError(error, "There was an error loading the transcript"); } else { diff --git a/www/app/[domain]/transcripts/useWaveform.ts b/www/app/[domain]/transcripts/useWaveform.ts index 46b33c63..4073b711 100644 --- a/www/app/[domain]/transcripts/useWaveform.ts +++ b/www/app/[domain]/transcripts/useWaveform.ts @@ -36,7 +36,6 @@ 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"); diff --git a/www/app/lib/getApi.ts b/www/app/lib/getApi.ts index ded7da53..7392cc90 100644 --- a/www/app/lib/getApi.ts +++ b/www/app/lib/getApi.ts @@ -14,9 +14,7 @@ export default function getApi(protectedPath: boolean): DefaultApi | undefined { if (!api_url) throw new Error("no API URL"); useEffect(() => { - // console.log('trying auth', protectedPath, requireLogin, accessTokenInfo) if (protectedPath && requireLogin && !accessTokenInfo) { - // console.log('waiting auth') return; }