Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
refactor(desktop-ui): r7-l3 remove dead loading cleanup
Josuéf4cf1b0d3a35
diff --git a/desktop-app/ui/src/hooks/domain/useAgentChatController.ts b/desktop-app/ui/src/hooks/domain/useAgentChatController.tsindex bd054ea81..80d9008e2 100644--- a/desktop-app/ui/src/hooks/domain/useAgentChatController.ts+++ b/desktop-app/ui/src/hooks/domain/useAgentChatController.ts@@ -1204,7 +1204,6 @@ export function useAgentChatController({clearComposerDraft,getActiveChatId: () => activeChatVisibilityRef.current.activeChatId,getChatMessagesLoading: () => chatMessagesLoadingRef.current,- clearChatMessagesLoading: () => setChatMessagesLoading(false),getAutoSelectedChatId: () => autoSelectedChatIdRef.current,markAutoSelectedChat: chatId => {autoSelectedChatIdRef.current = chatIddiff --git a/desktop-app/ui/src/hooks/domain/useChatListController.ts b/desktop-app/ui/src/hooks/domain/useChatListController.tsindex efd44a4b6..3971e21fe 100644--- a/desktop-app/ui/src/hooks/domain/useChatListController.ts+++ b/desktop-app/ui/src/hooks/domain/useChatListController.ts@@ -109,7 +109,6 @@ export interface ChatListControllerHost {clearComposerDraft: (chatId: string) => voidgetActiveChatId: () => string | nullgetChatMessagesLoading: () => boolean- clearChatMessagesLoading: () => voidgetAutoSelectedChatId: () => string | nullmarkAutoSelectedChat: (chatId: string | null) => voidshouldAutoSelectLatest: () => boolean@@ -1063,8 +1062,6 @@ export function useChatListController({if (restoreChatId) {const restore = host.current?.switchToChat(agentRef, restoreChatId)void restore?.catch(() => undefined)- } else if (chatMessagesLoadingAtCreate) {- host.current?.clearChatMessagesLoading()}}throw error