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 86ba83a commit f5bd76c
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="// some comment"
defaultValue="console.log('Hello World');"
onChange={handleEditorChange}
/>
</div>
Expand Down

0 comments on commit f5bd76c

Please sign in to comment.