File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
webapp/features/Threads/Prompt Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -215,14 +215,14 @@ function PromptProvider({
215215 const handleUpdatePrompt = useCallback (
216216 async ( prompt : ParsedPrompt | undefined , conversationName = getDefaultConversationName ( t ) ) => {
217217 if ( prompt ?. raw === '' && tempConversationId ) {
218- setChangedPrompt ( undefined ) ;
218+ // setChangedPrompt(undefined);
219219 await updateConversations ( conversations . filter ( ( c ) => ! c . temp ) ) ;
220220 onUpdateTempConversation ( undefined ) ;
221221 return ;
222222 }
223223 const conversation = getConversation ( conversationId , conversations ) as Conversation ;
224224 if ( conversation && comparePrompts ( conversation . currentPrompt , prompt ) ) {
225- setChangedPrompt ( undefined ) ;
225+ // setChangedPrompt(undefined);
226226 return ;
227227 }
228228 let updatedConversations : Conversation [ ] | undefined ;
@@ -252,7 +252,7 @@ function PromptProvider({
252252 if ( updatedConversations ) {
253253 await updateConversations ( updatedConversations ) ;
254254 }
255- setChangedPrompt ( undefined ) ;
255+ // setChangedPrompt(undefined);
256256 } ,
257257 [
258258 t ,
You can’t perform that action at this time.
0 commit comments