Skip to content

Commit 2455995

Browse files
committed
fix: eslint
1 parent 9b8d595 commit 2455995

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pages/EditorComponent.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const WelcomeText = styled("span")(({ theme }) => ({
6262

6363
function EditorComponent() {
6464
const [code, setCode] = useState(null);
65-
const [setOutput] = useState([]);
65+
const [output, setOutput] = useState([]);
6666

6767
const [currentLanguage, setCurrentLanguage] = useState(
6868
LANGUAGES[0].DEFAULT_LANGUAGE
@@ -277,10 +277,10 @@ function EditorComponent() {
277277
</div>
278278
</StyledLayout>
279279
<OutputLayout>
280-
{/* {Array.isArray(output) &&
280+
{Array.isArray(output) &&
281281
output.map((result, i) => {
282282
return <div key={i}>{result}</div>;
283-
})} */}
283+
})}
284284
<Footer/>
285285
</OutputLayout>
286286
</>

0 commit comments

Comments
 (0)