diff options
Diffstat (limited to 'subprojects/frontend/src/editor/EditorArea.tsx')
-rw-r--r-- | subprojects/frontend/src/editor/EditorArea.tsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/subprojects/frontend/src/editor/EditorArea.tsx b/subprojects/frontend/src/editor/EditorArea.tsx index 1c9b031b..7c5ac5fb 100644 --- a/subprojects/frontend/src/editor/EditorArea.tsx +++ b/subprojects/frontend/src/editor/EditorArea.tsx | |||
@@ -5,7 +5,7 @@ import React, { useCallback, useEffect } from 'react'; | |||
5 | import type EditorStore from './EditorStore'; | 5 | import type EditorStore from './EditorStore'; |
6 | import EditorTheme from './EditorTheme'; | 6 | import EditorTheme from './EditorTheme'; |
7 | 7 | ||
8 | function EditorArea({ | 8 | export default observer(function EditorArea({ |
9 | editorStore, | 9 | editorStore, |
10 | }: { | 10 | }: { |
11 | editorStore: EditorStore; | 11 | editorStore: EditorStore; |
@@ -32,6 +32,4 @@ function EditorArea({ | |||
32 | ref={editorParentRef} | 32 | ref={editorParentRef} |
33 | /> | 33 | /> |
34 | ); | 34 | ); |
35 | } | 35 | }); |
36 | |||
37 | export default observer(EditorArea); | ||