diff --git a/apps/desktop/layer/renderer/src/modules/ai-chat/store/chat-core/chat-actions.ts b/apps/desktop/layer/renderer/src/modules/ai-chat/store/chat-core/chat-actions.ts index 1e6e32e0b..6573a4152 100644 --- a/apps/desktop/layer/renderer/src/modules/ai-chat/store/chat-core/chat-actions.ts +++ b/apps/desktop/layer/renderer/src/modules/ai-chat/store/chat-core/chat-actions.ts @@ -36,6 +36,7 @@ export class ChatSliceActions { private params: Parameters>, private chatInstance: ZustandChat, ) { + this.chatInstance.resumeStream() return autoBindThis(this) } @@ -280,6 +281,7 @@ export class ChatSliceActions { chatInstance: newChatInstance, })) + newChatInstance.resumeStream() // Update the reference this.chatInstance = newChatInstance } catch (error) { diff --git a/apps/desktop/layer/renderer/src/modules/entry-content/components/entry-content/EntryContentFallback.tsx b/apps/desktop/layer/renderer/src/modules/entry-content/components/entry-content/EntryContentFallback.tsx index b173bd3ad..f361e1e0b 100644 --- a/apps/desktop/layer/renderer/src/modules/entry-content/components/entry-content/EntryContentFallback.tsx +++ b/apps/desktop/layer/renderer/src/modules/entry-content/components/entry-content/EntryContentFallback.tsx @@ -17,7 +17,7 @@ interface EntryContentFallbackProps { * 3. Error boundary for entry not found cases */ export const EntryContentFallback = memo(({ entryId, children }: EntryContentFallbackProps) => { - const { data: realEntry, isLoading: loadingRemoteEntry } = usePrefetchEntryDetail(entryId) + const { data: realEntry, isPending: loadingRemoteEntry } = usePrefetchEntryDetail(entryId) if (!loadingRemoteEntry && !realEntry) { // 404