diff options
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); | ||