Skip to content

Commit 907ca79

Browse files
committed
Try to fix bug
1 parent 3645c4e commit 907ca79

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jderobot-ide-interface",
3-
"version": "0.1.92",
3+
"version": "0.1.93",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"files": [

src/components/FileEditor/TextEditor.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@ const FileEditor = ({
120120
};
121121
}, [commsManager]);
122122

123-
useEffect(() => {
124-
return () => {
125-
editorRef.current
126-
.getDomNode()
127-
.removeEventListener("keydown", handleKeyDown);
128-
};
129-
}, []);
123+
// useEffect(() => {
124+
// return () => {
125+
// editorRef.current
126+
// .getDomNode()
127+
// .removeEventListener("keydown", handleKeyDown);
128+
// };
129+
// }, []);
130130

131131
const handleEditorDidMount = (monaco: Monaco) => {
132132
monaco.editor.defineTheme("dark-theme", {

0 commit comments

Comments
 (0)