diff options
Diffstat (limited to 'subprojects/frontend/src/editor/GenerateButton.tsx')
-rw-r--r-- | subprojects/frontend/src/editor/GenerateButton.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/subprojects/frontend/src/editor/GenerateButton.tsx b/subprojects/frontend/src/editor/GenerateButton.tsx index 14258723..4b998af6 100644 --- a/subprojects/frontend/src/editor/GenerateButton.tsx +++ b/subprojects/frontend/src/editor/GenerateButton.tsx | |||
@@ -24,8 +24,9 @@ function GenerateButton(): JSX.Element { | |||
24 | return ( | 24 | return ( |
25 | <Button | 25 | <Button |
26 | aria-label={`Select next diagnostic out of ${summary}`} | 26 | aria-label={`Select next diagnostic out of ${summary}`} |
27 | color="error" | ||
28 | onClick={() => editorStore.nextDiagnostic()} | 27 | onClick={() => editorStore.nextDiagnostic()} |
28 | color="error" | ||
29 | className="rounded" | ||
29 | > | 30 | > |
30 | {summary} | 31 | {summary} |
31 | </Button> | 32 | </Button> |
@@ -35,6 +36,7 @@ function GenerateButton(): JSX.Element { | |||
35 | return ( | 36 | return ( |
36 | <Button | 37 | <Button |
37 | color={warningCount > 0 ? 'warning' : 'primary'} | 38 | color={warningCount > 0 ? 'warning' : 'primary'} |
39 | className="rounded" | ||
38 | startIcon={<PlayArrowIcon />} | 40 | startIcon={<PlayArrowIcon />} |
39 | > | 41 | > |
40 | {summary === '' ? GENERATE_LABEL : `${GENERATE_LABEL} (${summary})`} | 42 | {summary === '' ? GENERATE_LABEL : `${GENERATE_LABEL} (${summary})`} |