From 4aea01a24262c35412f473e74ba5b0f467c46bb7 Mon Sep 17 00:00:00 2001 From: Camerin Figueroa Date: Mon, 1 Nov 2021 17:44:34 -0400 Subject: [PATCH] Added extra = to prevent compile failure --- src/components/Article.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Article.js b/src/components/Article.js index cf16474..66f39c0 100644 --- a/src/components/Article.js +++ b/src/components/Article.js @@ -29,7 +29,7 @@ const Article = ({article}) => { type.push(0); output[ind] = "" } - + output[ind] += text[i] } } @@ -41,7 +41,7 @@ const Article = ({article}) => { return
{output[i]}
; - } else if(type[i] == 1) { // Return Code text type + } else if(type[i] === 1) { // Return Code text type return
{output[i]}
;