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 Ren
2026-05-16 01:42:42 +08:00
committed by Xubin Ren
co-authored by Cursor
parent 52a9300d9e
commit 0f96ab7e70
2 changed files with 3 additions and 3 deletions
+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