mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 02:10:15 +01:00
clears conversations and no new line on enter
This commit is contained in:
parent
51d93da3f8
commit
58498ed951
3 changed files with 19 additions and 7 deletions
|
|
@ -15,6 +15,9 @@ export default function Conversation({ id, parentMessageId, title = 'New convers
|
|||
);
|
||||
|
||||
const clickHandler = async () => {
|
||||
if (conversationId === id) {
|
||||
return;
|
||||
}
|
||||
|
||||
dispatch(setConversation({ conversationId: id, parentMessageId }));
|
||||
const data = await trigger();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue