Skip to content

Commit

Permalink
change the default value of the code
Browse files Browse the repository at this point in the history
  • Loading branch information
knbr13 committed May 20, 2023
1 parent f5bd76c commit 71d83ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CodeEditorWindow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const CodeEditorWindow = ({ onChange, language, code, theme }) => {
language={language || "javascript"}
value={value}
theme={theme}
defaultValue="console.log('Hello World');"
defaultValue="//console.log('Hello World');"
onChange={handleEditorChange}
/>
</div>
Expand Down

0 comments on commit 71d83ed

Please sign in to comment.