Remove console.log statement and refactor string replacement logic in GenericModal component
This commit is contained in:
parent
d6fe701c7f
commit
f0c592a330
1 changed files with 0 additions and 1 deletions
|
|
@ -114,7 +114,6 @@ export default function GenericModal({
|
||||||
return match;
|
return match;
|
||||||
})
|
})
|
||||||
.replace(/\n/g, "<br />");
|
.replace(/\n/g, "<br />");
|
||||||
console.log(coloredContent);
|
|
||||||
function getClassByNumberLength(): string {
|
function getClassByNumberLength(): string {
|
||||||
let sumOfCaracteres: number = 0;
|
let sumOfCaracteres: number = 0;
|
||||||
wordsHighlight.forEach((element) => {
|
wordsHighlight.forEach((element) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue