mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-23 03:40:14 +01:00
model menu won't close on model deletion
This commit is contained in:
parent
0ba92c4c03
commit
a286f027c8
4 changed files with 4 additions and 29 deletions
|
|
@ -13,14 +13,6 @@ export default function ClearConvos() {
|
|||
const { trigger } = manualSWR(`http://localhost:3080/api/convos/clear`, 'post', () => {
|
||||
dispatch(setMessages([]));
|
||||
dispatch(setNewConvo());
|
||||
// dispatch(
|
||||
// setConversation({
|
||||
// error: false,
|
||||
// title: 'New chat',
|
||||
// conversationId: null,
|
||||
// parentMessageId: null
|
||||
// })
|
||||
// );
|
||||
mutate(`http://localhost:3080/api/convos`);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue