mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
remove console logs
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user