mirror of https://github.com/buster-so/buster.git
Update useChatStreamMessage.ts
This commit is contained in:
parent
a341f3820d
commit
a5b5f4cc5d
|
@ -91,6 +91,8 @@ export const useChatStreamMessage = () => {
|
||||||
|
|
||||||
const initializeNewChatCallback = useMemoizedFn((d: BusterChat) => {
|
const initializeNewChatCallback = useMemoizedFn((d: BusterChat) => {
|
||||||
const { iChat, iChatMessages } = updateChatToIChat(d, true);
|
const { iChat, iChatMessages } = updateChatToIChat(d, true);
|
||||||
|
console.log('iChatMessages', iChatMessages);
|
||||||
|
console.log('iChat', iChat);
|
||||||
normalizeChatMessage(iChatMessages);
|
normalizeChatMessage(iChatMessages);
|
||||||
onUpdateChat(iChat);
|
onUpdateChat(iChat);
|
||||||
onChangePage({
|
onChangePage({
|
||||||
|
|
Loading…
Reference in New Issue