Skip to content

Commit 53ed10a

Browse files
committed
Debugging
1 parent d59072d commit 53ed10a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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.89",
3+
"version": "0.1.90",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"files": [

src/components/FileEditor/TextEditor.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,7 @@ const FileEditor = ({
151151
monacoRef.current = monaco;
152152
editorRef.current = editor;
153153

154-
if (editorRef.current) {
155-
editorRef.current.getDomNode().addEventListener("keydown", handleKeyDown);
156-
}
154+
editorRef.current.getDomNode().addEventListener("keydown", handleKeyDown);
157155

158156
monacoEditorSnippet(monaco, commsManager);
159157

src/components/ResizableLayout/ResizableComponents.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ export const ResizableRow = ({
160160
}) => {
161161
const theme = useTheme();
162162

163+
console.log(children)
164+
163165
if (layout === "only-editor") {
164166
// Remove viewers == Remove last element
165167
children.pop();

0 commit comments

Comments
 (0)