fix(h5): drop missing useTaskLoadingTip import blocking portal build
Memind CI / Test, build, and release guards (push) Successful in 5m45s

ChatPanel referenced an unstaged hook; use taskLoadingTip directly until loading tips ship.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-26 21:19:38 +08:00
parent 644f7fc632
commit b356ae8509
+1 -2
View File
@@ -35,7 +35,6 @@ import { ChatSkillPicker } from './ChatSkillPicker';
import { ChatSkillIcon } from './ChatSkillIcons';
import { PageTemplateShopModal } from './PageTemplateShopModal';
import { ChatLoadingSpinner } from './ChatLoadingSpinner';
import { useTaskLoadingTip } from '../hooks/useTaskLoadingTip';
import { ChatSharePreviewModal } from './ChatSharePreviewModal';
import { ChatPlazaPublishModal } from './ChatPlazaPublishModal';
import { MessageList } from './MessageList';
@@ -275,7 +274,7 @@ export function ChatPanel({
}>(null);
const prevMessageCountRef = useRef(messages.length);
const showAssistantTyping = chatState === 'waiting' || chatState === 'streaming';
const displayLoadingTip = useTaskLoadingTip(showAssistantTyping, taskLoadingTip);
const displayLoadingTip = showAssistantTyping ? taskLoadingTip : null;
inputRef.current = input;
pendingImagesRef.current = pendingImages;