We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcf60c7 commit 28e8fa3Copy full SHA for 28e8fa3
apps/docs/components/ai/markdown.tsx
@@ -14,7 +14,6 @@ import {
14
import { Fragment, jsx, jsxs } from 'react/jsx-runtime';
15
import { DynamicCodeBlock } from 'fumadocs-ui/components/dynamic-codeblock';
16
import defaultMdxComponents from 'fumadocs-ui/mdx';
17
-import { Skeleton } from '../ui/Skeleton';
18
19
export interface Processor {
20
process: (content: string) => Promise<ReactNode>;
@@ -66,7 +65,7 @@ export function Markdown({ text }: { text: string }) {
66
65
const deferredText = useDeferredValue(text);
67
68
return (
69
- <Suspense fallback={<Skeleton />}>
+ <Suspense fallback={text}>
70
<Renderer text={deferredText} />
71
</Suspense>
72
);
apps/docs/components/ui/Skeleton.tsx
0 commit comments