Added extra = to prevent compile failure

This commit is contained in:
Camerin Figueroa 2021-11-01 17:44:34 -04:00
parent 4ba222c8c8
commit 4aea01a242
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ const Article = ({article}) => {
type.push(0);
output[ind] = ""
}
output[ind] += text[i]
}
}
@ -41,7 +41,7 @@ const Article = ({article}) => {
return <div key={i}>{output[i]}</div>;
} else if(type[i] == 1) { // Return Code text type
} else if(type[i] === 1) { // Return Code text type
return <div className="code" key={i}>{output[i]}</div>;