Skip to content

Commit 50cb5d9

Browse files
committed
style: clean up console logs left over
1 parent 5becbd5 commit 50cb5d9

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

frontend-nextjs/src/app/[lang]/campaign/apply/[campaignId]/application/[applicationId]/applicationanswer.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default function ApplicationReview({
5757
const [qaByRole, setQAByRole] = useState<Map<string, QuestionAndAnswer[]>>(new Map());
5858
const queryClient = useQueryClient()
5959

60-
// Ensure general questions/answers are fetched and stored in qaByRole on load
60+
// always fetch general qAndAs on load
6161
useEffect(() => {
6262
(async () => {
6363
try {
@@ -199,7 +199,6 @@ export default function ApplicationReview({
199199
console.error(`Failed to fetch QAs for role ${roleId}:`, err);
200200
}
201201
})();
202-
// Intentionally do not set this role in newQAMap yet; it will be filled by the async fetch above
203202
}
204203
}
205204
}

frontend-nextjs/src/components/applicationanswer/maincontent.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,9 @@ export default function MainContent({
102102

103103
useEffect(() => {
104104
if (!questions || !answers) {
105-
console.log("lolgetfucked")
106105
return;
107106
}
108-
console.log("godstained")
109107
const linked = linkQuestionsAndAnswers(questions, answers)
110-
console.log(linked)
111108
setQuestionsAndAnswers(linked);
112109
}, [questions, answers]);
113110

0 commit comments

Comments
 (0)