Skip to content

Commit d1bff49

Browse files
authored
Merge pull request #338 from Kavyapriya-1804/fix-reset-prompt-results
fix - Reset Prompt results
2 parents 6ab7ac3 + c843ac6 commit d1bff49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,7 @@ const App = () => {
647647
setSelectedPrompt={(prompt) => {
648648
clearError("prompts");
649649
setSelectedPrompt(prompt);
650+
setPromptContent("");
650651
}}
651652
handleCompletion={handleCompletion}
652653
completionsSupported={completionsSupported}

0 commit comments

Comments
 (0)