aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaster4385 <blaster4385@tablaster.dev>2024-02-19 20:43:22 +0530
committerBlaster4385 <blaster4385@tablaster.dev>2024-02-21 23:52:45 +0530
commitc9c42ffd128baad2c06437e73d83b5867468dbc5 (patch)
treef0e456e328883d24fa11f98dae1684956f6da240
parentab1892a7104204659fb14a8c8944c066b35e2f3f (diff)
Editor: Set default language to none
-rw-r--r--client/src/components/Editor/Editor.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/components/Editor/Editor.jsx b/client/src/components/Editor/Editor.jsx
index 29294a0..0bb046e 100644
--- a/client/src/components/Editor/Editor.jsx
+++ b/client/src/components/Editor/Editor.jsx
@@ -10,7 +10,7 @@ const Editor = () => {
const { id } = useParams();
const navigate = useNavigate();
const [text, setText] = useState("");
- const [language, setLanguage] = useState("js");
+ const [language, setLanguage] = useState("none");
const textareaRef = useRef(null);
const lineNumberRef = useRef(null);