diff --git a/webui/src/App.tsx b/webui/src/App.tsx
index 600cc802d..e8dc0722c 100644
--- a/webui/src/App.tsx
+++ b/webui/src/App.tsx
@@ -157,8 +157,6 @@ export default function App() {
return bootstrapWithSecret(saved);
}, [bootstrapWithSecret]);
-
-
if (state.status === "loading") {
return (
diff --git a/webui/src/components/MarkdownText.tsx b/webui/src/components/MarkdownText.tsx
index fd92873b3..111158968 100644
--- a/webui/src/components/MarkdownText.tsx
+++ b/webui/src/components/MarkdownText.tsx
@@ -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