Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
refactor : remove debugging purpose console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
kasterra committed May 28, 2024
1 parent 820bbe4 commit d30337e
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions app/routes/_procted+/lectures+/_index/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,7 @@ const Lectures = () => {
alt="edit icon"
className={styles.icon}
onClick={(e) => {
console.log(lecture);
setEditingLectureInfo(lecture);
console.log(editingLectureInfo);
setIsLectureEditModalOpen(true);
}}
/>
Expand Down
2 changes: 0 additions & 2 deletions app/routes/_procted+/lectures+/quiz+/new/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ const QuizRegister = () => {
}
data[studentId][questionId] = value as string;
}

console.log(data);
}}
>
<div className={styles["text-area"]}>
Expand Down
1 change: 0 additions & 1 deletion app/routes/admin+/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const ProctedRoute = () => {
}
getUserInfo(userId, token)
.then(({ data }) => {
console.log(token, userId);
if (data.is_admin === false) {
setIsNotAdmin(true);
return;
Expand Down
1 change: 0 additions & 1 deletion app/util/codeHole.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ export function generateFullCode(
parsedCodes: parsedCodeElement[][],
blanks: string[]
) {
console.log(blanks);
let blankIdx = 0;
return parsedCodes
.map((parsedCode) =>
Expand Down
1 change: 0 additions & 1 deletion app/util/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export async function cp949ToUTF8(file: File): Promise<File> {
resolve(file);
}
const decoded = iconv.decode(buf, "cp949");
console.log(decoded);
resolve(new File([decoded], file.name, { type: file.type }));
};

Expand Down
3 changes: 0 additions & 3 deletions app/util/getMyAllCodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ export async function getCodesWithZipFile(
);
if (!recentCorrectData) continue;

console.log(recentCorrectData);

const correctSubmissionResponse = await getSubmissionWithSubmissionId(
recentCorrectData.id,
token
Expand All @@ -36,7 +34,6 @@ export async function getCodesWithZipFile(

correctSubmissionResponse.data.codes.map((file) => {
zip.file(`${practiceName}/${problemName}/${file.name}`, file.content);
console.log(file.content);
});
}
return zip.generateAsync({ type: "blob", compression: "DEFLATE" });
Expand Down

0 comments on commit d30337e

Please sign in to comment.