aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/editor/GenerateButton.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/editor/GenerateButton.tsx')
-rw-r--r--subprojects/frontend/src/editor/GenerateButton.tsx6
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
8const GENERATE_LABEL = 'Generate'; 8const GENERATE_LABEL = 'Generate';
9 9
10function GenerateButton({ 10export 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
58export default observer(GenerateButton);