Skip to content

Commit ae0c5e5

Browse files
Bump react-markdown from 9.0.1 to 10.1.0 (#54783)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
1 parent 96e39dd commit ae0c5e5

3 files changed

Lines changed: 11 additions & 14 deletions

File tree

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
"quick-lru": "7.0.0",
308308
"react": "18.3.1",
309309
"react-dom": "18.3.1",
310-
"react-markdown": "^9.0.1",
310+
"react-markdown": "^10.1.0",
311311
"rehype-highlight": "^7.0.0",
312312
"rehype-raw": "^7.0.0",
313313
"rehype-slug": "^6.0.0",

src/frame/components/ui/MarkdownContent/UnrenderedMarkdownContent.tsx

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,10 @@ export const UnrenderedMarkdownContent = ({
6868
)
6969
}
7070
return (
71-
<ReactMarkdown
72-
remarkPlugins={[remarkGfm]}
73-
{...restProps}
74-
className={cx('markdown-body', className)}
75-
components={components}
76-
>
77-
{children}
78-
</ReactMarkdown>
71+
<div className={cx('markdown-body', className)}>
72+
<ReactMarkdown remarkPlugins={[remarkGfm]} {...restProps} components={components}>
73+
{children}
74+
</ReactMarkdown>
75+
</div>
7976
)
8077
}

0 commit comments

Comments
 (0)