fixed conversation be selected even though its a new conversation

This commit is contained in:
Lucas Oliveira 2025-11-18 17:49:34 -03:00
parent 2c812657d6
commit 726b19c8bb

View file

@ -248,7 +248,7 @@ export function Navigation({
); );
} }
if (isOnChatPage) { if (isOnChatPage && !isConversationsLoading) {
if (conversations.length === 0 && !placeholderConversation) { if (conversations.length === 0 && !placeholderConversation) {
handleNewConversation(); handleNewConversation();
} else if (activeConvo) { } else if (activeConvo) {