Skip to content

Commit

Permalink
remove unneded console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
varun7654 committed May 6, 2024
1 parent a016f0c commit 10545bc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/auth/LoginSuccess.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export default function LoginSuccess() {
.then(response => response.json())
.then(result => {
if (result.token) {
console.log("Finished logging in. Token: " + result.token);
localStorage.setItem("token", result.token);
let loginRedirect = localStorage.getItem("loginRedirect");

Expand Down
1 change: 0 additions & 1 deletion src/problem/Problem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ export function Problem() {
}
errorText += indentText(userData.testResults.runtimeError, 1);
} else {
console.log(userData.testResults);
errorText += "No error message was provided."
}
}
Expand Down
2 changes: 0 additions & 2 deletions src/problem/ProblemParse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,6 @@ function extractTestCases(tokens: Token[], tests: TestCase[]) {
}
}

console.log(magicLinks);

// @ts-ignore - ts seems to not believe that type could be paragraph
while (tokens.length > 0 && tokens[0].type === "paragraph") {
let metaData = (tokens.shift() as Tokens.Paragraph).text.trim();
Expand Down

0 comments on commit 10545bc

Please sign in to comment.