diff options
author | 2022-08-27 13:02:22 +0200 | |
---|---|---|
committer | 2022-08-27 14:50:27 +0200 | |
commit | 072621cee0f858236163ce11d42eca5adb84d205 (patch) | |
tree | 701686d051cb3a8a75be9075d404508be093a2a2 /subprojects/frontend/src/editor/EditorArea.tsx | |
parent | refactor(frontend): custom mutex implementation (diff) | |
download | refinery-072621cee0f858236163ce11d42eca5adb84d205.tar.gz refinery-072621cee0f858236163ce11d42eca5adb84d205.tar.zst refinery-072621cee0f858236163ce11d42eca5adb84d205.zip |
refactor(frontend): add eslint-plugin-mobx
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); | ||