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/GenerateButton.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/GenerateButton.tsx')
-rw-r--r-- | subprojects/frontend/src/editor/GenerateButton.tsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/subprojects/frontend/src/editor/GenerateButton.tsx b/subprojects/frontend/src/editor/GenerateButton.tsx index a28f6b4b..5254f6cb 100644 --- a/subprojects/frontend/src/editor/GenerateButton.tsx +++ b/subprojects/frontend/src/editor/GenerateButton.tsx | |||
@@ -7,7 +7,7 @@ import type EditorStore from './EditorStore'; | |||
7 | 7 | ||
8 | const GENERATE_LABEL = 'Generate'; | 8 | const GENERATE_LABEL = 'Generate'; |
9 | 9 | ||
10 | function GenerateButton({ | 10 | export default observer(function GenerateButton({ |
11 | editorStore, | 11 | editorStore, |
12 | }: { | 12 | }: { |
13 | editorStore: EditorStore | undefined; | 13 | editorStore: EditorStore | undefined; |
@@ -53,6 +53,4 @@ function GenerateButton({ | |||
53 | {summary === '' ? GENERATE_LABEL : `${GENERATE_LABEL} (${summary})`} | 53 | {summary === '' ? GENERATE_LABEL : `${GENERATE_LABEL} (${summary})`} |
54 | </Button> | 54 | </Button> |
55 | ); | 55 | ); |
56 | } | 56 | }); |
57 | |||
58 | export default observer(GenerateButton); | ||