Skip to content

Commit bfdc8c2

Browse files
committed
Slightly improve flickering when rendering markdown
1 parent 9ae1dc0 commit bfdc8c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ui/markdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export function RawMarkdown({
144144
});
145145
}, [content, sourcePath, inline, container.current]);
146146

147-
return <span ref={container} style={style} className={cls} onClick={onClick}></span>;
147+
return <span ref={container} style={style} className={cls} onClick={onClick}>{content}</span>;
148148
}
149149

150150
/**

0 commit comments

Comments
 (0)