From f5bd76c96d06db38bcc3ce5de0efc1abf9cc0783 Mon Sep 17 00:00:00 2001 From: abdullah-alaadine Date: Sun, 21 May 2023 02:03:30 +0300 Subject: [PATCH] change the default value of the code --- src/components/CodeEditorWindow.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CodeEditorWindow.jsx b/src/components/CodeEditorWindow.jsx index af4fb9c..a52b0f3 100644 --- a/src/components/CodeEditorWindow.jsx +++ b/src/components/CodeEditorWindow.jsx @@ -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} />