fix(webui): drop App markdown warmup; keep preloadMarkdownText export

Startup no longer triggers preloadMarkdownText (#3746). Restore the named
export so MessageBubble can still warm the lazy markdown chunk when the
reasoning panel opens (compatible with current main).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Xubin RenandCursor authored and Xubin Ren committed 2026-05-16 01:42:42 +08:00
1 parent 52a9300d9e
commit 0f96ab7e70
2 files changed
+3 -3

No files matched your search

+3 -1
View File
@@ -10,7 +10,9 @@ interface MarkdownTextProps {
const loadMarkdownRenderer = () => import("@/components/MarkdownTextRenderer");
const LazyMarkdownRenderer = lazy(loadMarkdownRenderer);
export function preloadMarkdownText(): void {
void loadMarkdownRenderer();
}
/**
* Lightweight markdown renderer mirroring agent-chat-ui: GFM + math via