>;
@@ -188,11 +188,24 @@ const EditViewButtons = memo(
className={`btn relative mr-2 btn-primary ${
generating ? 'cursor-not-allowed opacity-40' : ''
}`}
- onClick={handleSaveAndSubmit}
- aria-label={t('saveAndSubmit') as string}
+ onClick={handleGenerate}
+ aria-label={t('generate') as string}
>
- {t('saveAndSubmit')}
+ {t('generate')}
+
+
+ )}
+
+ {sticky || (
+
)}
@@ -203,7 +216,7 @@ const EditViewButtons = memo(
? `btn-neutral ${
generating ? 'cursor-not-allowed opacity-40' : ''
}`
- : 'btn-primary'
+ : 'btn-neutral'
}`}
onClick={handleSave}
aria-label={t('save') as string}
@@ -213,20 +226,6 @@ const EditViewButtons = memo(
- {sticky || (
-
- )}
-
{sticky || (