fix(chat): isolate pending flows and cancel stale requests
This commit is contained in:
@@ -58,7 +58,9 @@ export function ChatScreen() {
|
||||
loginStatus: authState.loginStatus,
|
||||
messages: state.historyMessages,
|
||||
});
|
||||
const isPromotionBootstrapReady = useChatPromotionBootstrap();
|
||||
const isPromotionBootstrapReady = useChatPromotionBootstrap(
|
||||
state.characterId,
|
||||
);
|
||||
const visibleMessages = isPromotionBootstrapReady
|
||||
? state.messages
|
||||
: state.historyMessages;
|
||||
|
||||
Reference in New Issue
Block a user