fix: force navigation to /chat/new on endpoint change and conversation deletions (#1141)

This commit is contained in:
Danny Avila 2023-11-04 20:33:24 -04:00 committed by GitHub
parent 0886441461
commit a2ee57568a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 76 additions and 61 deletions

View file

@ -100,7 +100,7 @@ export default function NewConversationMenu() {
if (!newEndpoint) {
return;
} else {
newConversation({}, { endpoint: newEndpoint });
newConversation(null, { endpoint: newEndpoint });
}
};