Skip to content

Commit 8310315

Browse files
dependabot[bot]torokati44
authored andcommitted
build(deps-dev): bump react-markdown from 9.0.3 to 10.0.0
Bumps [react-markdown](https://github.com/remarkjs/react-markdown) from 9.0.3 to 10.0.0. - [Release notes](https://github.com/remarkjs/react-markdown/releases) - [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md) - [Commits](remarkjs/react-markdown@9.0.3...10.0.0) --- updated-dependencies: - dependency-name: react-markdown dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent a07ac57 commit 8310315

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

package-lock.json

+6-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"postcss-preset-mantine": "^1.17.0",
4444
"postcss-simple-vars": "^7.0.1",
4545
"prettier": "3.5.2",
46-
"react-markdown": "^9.0.3",
46+
"react-markdown": "^10.0.0",
4747
"rehype-raw": "^7.0.0",
4848
"rehype-slug": "^6.0.0",
4949
"typescript": "^5.7.3"

src/app/blog/post.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ export function BlogPost({ metadata, type }: BlogPostProps) {
4949
{metadata.year}-{metadata.month}-{metadata.day}
5050
</Text>
5151
</Group>
52-
<div>
52+
<div className={type == "excerpt" ? classes.excerpt : classes.contents}>
5353
<Markdown
54-
className={type == "excerpt" ? classes.excerpt : classes.contents}
5554
rehypePlugins={[rehypeRaw, rehypeSlug]}
5655
components={{
5756
a(props) {

0 commit comments

Comments
 (0)