mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 17:30:16 +01:00
delete updates state title
This commit is contained in:
parent
ef4ec39a76
commit
e8c514fff9
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ export default function DeleteButton({ conversationId, renaming, cancelHandler }
|
|||
'post',
|
||||
() => {
|
||||
dispatch(setMessages([]));
|
||||
dispatch(setConversation({ conversationId: null, parentMessageId: null }));
|
||||
dispatch(setConversation({ title: 'New chat', conversationId: null, parentMessageId: null }));
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue