diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/TriggerPhrases.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/TriggerPhrases.tsx index ec707352c7..9352d7996c 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/TriggerPhrases.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/TriggerPhrases.tsx @@ -77,9 +77,17 @@ export const TriggerPhrases = () => { [updateModel, selectedModelKey, triggerPhrases] ); + const onTriggerPhraseAddFormSubmit = useCallback( + (e: React.FormEvent) => { + e.preventDefault(); + addTriggerPhrase(); + }, + [addTriggerPhrase] + ); + return ( -
+ {t('modelManager.triggerPhrases')}