Skip to content

Commit

Permalink
[front] Show empty div loading (#8363)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdraier authored Oct 31, 2024
1 parent 69f80a7 commit 443f2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/components/assistant/markdown/CodeBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function CodeBlock({
const languageToUse = languageOverrides[language] || language;

return !inline && language ? (
<Suspense fallback={String(children)}>
<Suspense fallback={<div />}>
<SyntaxHighlighter
wrapLongLines={wrapLongLines}
style={{
Expand Down

0 comments on commit 443f2f9

Please sign in to comment.