diff --git a/components/block.tsx b/components/block.tsx index 066e3ae6e..c1b9c5e88 100644 --- a/components/block.tsx +++ b/components/block.tsx @@ -477,7 +477,7 @@ function PureBlock({ })} > {isDocumentsFetching && !block.content ? ( - + ) : block.kind === 'code' ? ( { - return ( +import { BlockKind } from './block'; + +export const DocumentSkeleton = ({ blockKind }: { blockKind: BlockKind }) => { + return blockKind === 'image' ? ( +
+
+
+ ) : (