diff --git a/frontend/src/settings/Prompts.tsx b/frontend/src/settings/Prompts.tsx index 3d041555..9501b47d 100644 --- a/frontend/src/settings/Prompts.tsx +++ b/frontend/src/settings/Prompts.tsx @@ -58,7 +58,8 @@ export default function Prompts({ } setModalState('INACTIVE'); onSelectPrompt(newPromptName, newPrompt.id, newPromptContent); - setNewPromptName(newPromptName); + setNewPromptName(''); + setNewPromptContent(''); } catch (error) { console.error(error); }