From b834db0fd424e7ab02fcd5e509d855f2d97863bd Mon Sep 17 00:00:00 2001
From: Kristóf Marussy <marussy@mit.bme.hu>
Date: Sat, 2 Oct 2021 02:11:31 +0200
Subject: perf(web): split off CodeMirror chunks

Also optimizes statis asset caching.
---
 language-web/src/main/js/App.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'language-web/src/main/js/App.tsx')

diff --git a/language-web/src/main/js/App.tsx b/language-web/src/main/js/App.tsx
index 17d4f339..5cd157fa 100644
--- a/language-web/src/main/js/App.tsx
+++ b/language-web/src/main/js/App.tsx
@@ -9,12 +9,12 @@ import MenuIcon from '@material-ui/icons/Menu';
 import PlayArrowIcon from '@material-ui/icons/PlayArrow';
 
 import { makeStyles } from './makeStyles';
-import { Editor } from './editor/Editor';
+import { EditorArea } from './editor/EditorArea';
 import { EditorButtons } from './editor/EditorButtons';
 
 const useStyles = makeStyles()((theme) => ({
   container: {
-    maxHeight: '100vh',
+    height: '100vh',
   },
   menuButton: {
     marginRight: theme.spacing(2),
@@ -85,7 +85,7 @@ export const App = (): JSX.Element => {
         flexShrink={1}
         className={cx(classes.editorBox)}
       >
-        <Editor />
+        <EditorArea />
       </Box>
     </Box>
   );
-- 
cgit v1.2.3-70-g09d2

