Removed an unused console.log

This commit is contained in:
Tiago Ribeiro
2024-01-09 13:56:31 +00:00
parent 59d1a12439
commit 3b35a899e0

View File

@@ -13,7 +13,6 @@ export default function Writing({id, type, prompt, attachment, userSolutions, on
const formatSolution = (solution: string, errors: {correction: string | null; misspelled: string}[]) => { const formatSolution = (solution: string, errors: {correction: string | null; misspelled: string}[]) => {
const errorRegex = new RegExp(errors.map((x) => `(${x.misspelled})`).join("|")); const errorRegex = new RegExp(errors.map((x) => `(${x.misspelled})`).join("|"));
console.log(errorRegex);
return ( return (
<> <>