remove console logs

This commit is contained in:
Sara
2023-11-08 17:40:55 +01:00
parent 68ee6a20a4
commit 4103fd82de
3 changed files with 0 additions and 4 deletions

View File

@@ -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 {

View File

@@ -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");

View File

@@ -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;
}