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

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