client error handling, regen response without saving messages

This commit is contained in:
Danny Avila 2023-02-08 15:26:42 -05:00
parent 87685c3791
commit 217bdb4865
11 changed files with 261 additions and 62 deletions

View file

@ -13,7 +13,7 @@ export default function ClearConvos() {
'post',
() => {
dispatch(setMessages([]));
dispatch(setConversation({ conversationId: null, parentMessageId: null }));
dispatch(setConversation({ error: false, conversationId: null, parentMessageId: null }));
}
);