feat: add enter key trigger for translate model prompt
This commit is contained in:
parent
3b250d7d78
commit
73f6a743cd
@ -62,7 +62,8 @@ const ModelSettings: FC = () => {
|
||||
message: t('settings.models.translate_model_prompt_message'),
|
||||
defaultValue: translateModelPrompt,
|
||||
inputProps: {
|
||||
rows: 10
|
||||
rows: 10,
|
||||
onPressEnter: () => {}
|
||||
}
|
||||
})
|
||||
if (prompt) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user