Removed an unused console.log
This commit is contained in:
@@ -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 (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user