fix: change endpoint should not skip when endpoint same
This commit is contained in:
@@ -52,7 +52,7 @@ export default function NewConversationMenu() {
|
||||
setMenuOpen(false);
|
||||
|
||||
if (!newEndpoint) return;
|
||||
else if (newEndpoint === endpoint) return;
|
||||
// else if (newEndpoint === endpoint) return;
|
||||
else {
|
||||
newConversation({}, { endpoint: newEndpoint });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user