Skip to content

Commit

Permalink
Removed test logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan-CTL committed Oct 2, 2024
1 parent b0a1891 commit 7802219
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions media/js/src/multipleChoiceQuestion2.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export const MultipleChoiceQuestion2 = ({isSubmitted, setIsSubmitted, takeaways,
const asyncSave = async function() {
if (Object.values(results).length > 0) {
for (let topic in results) {
console.log('Saving', topic, selected[topic], results[topic]);
await saveAnswer(
submissionId, takeaways[topic].q_id, 'multiple-choice',
selected[topic], results[topic], {});
Expand Down Expand Up @@ -62,8 +61,6 @@ export const MultipleChoiceQuestion2 = ({isSubmitted, setIsSubmitted, takeaways,
useEffect(() => {
const result = Object.values(results);
setNextStep(result.length > 0 && !result.includes(false));
console.log('Complete', checkComplete());
console.log('Results', results);
}, [results]);

return (
Expand Down

0 comments on commit 7802219

Please sign in to comment.