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:
1 parent
52a9300d9e
commit
0f96ab7e70
2 files changed
+3
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user