1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

build(deps): update latest
Some checks failed
Analyze / analyze (javascript) (push) Failing after 1m24s
Build / build (push) Successful in 3m0s
Lint / lint (push) Successful in 2m6s
Test / test-unit (push) Successful in 1m56s
Test / test-e2e (push) Successful in 3m17s

This commit is contained in:
2023-07-19 00:09:28 +02:00
parent 643e0e5821
commit 0bbebeab99
7 changed files with 677 additions and 526 deletions

View File

@ -87,7 +87,8 @@ const BlogPostPage: NextPage<BlogPostPageProps> = (props) => {
)
},
a: (props) => {
if (props.href?.startsWith('#') ?? false) {
const { href = '' } = props
if (href.startsWith('#')) {
return <a {...props} />
}
return (