model menu won't close on model deletion

This commit is contained in:
Daniel Avila 2023-03-09 19:02:59 -05:00
parent 0ba92c4c03
commit a286f027c8
4 changed files with 4 additions and 29 deletions

View file

@ -39,15 +39,6 @@ export default function ModelDialog({ mutate, setModelSave, handleSaveState }) {
handleSaveState(chatGptLabel.toLowerCase());
// Set new conversation
dispatch(setNewConvo());
// dispatch(
// setConversation({
// title: 'New Chat',
// error: false,
// conversationId: null,
// parentMessageId: null
// })
// );
// dispatch(setDisabled(false));
};
const saveHandler = (e) => {