Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
DhanushNehru committed Oct 13, 2024
1 parent 9b8d595 commit 2455995
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/EditorComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const WelcomeText = styled("span")(({ theme }) => ({

function EditorComponent() {
const [code, setCode] = useState(null);
const [setOutput] = useState([]);
const [output, setOutput] = useState([]);

const [currentLanguage, setCurrentLanguage] = useState(
LANGUAGES[0].DEFAULT_LANGUAGE
Expand Down Expand Up @@ -277,10 +277,10 @@ function EditorComponent() {
</div>
</StyledLayout>
<OutputLayout>
{/* {Array.isArray(output) &&
{Array.isArray(output) &&
output.map((result, i) => {
return <div key={i}>{result}</div>;
})} */}
})}
<Footer/>
</OutputLayout>
</>
Expand Down

0 comments on commit 2455995

Please sign in to comment.