1
0
Fork 0

wip(shared): Taking MDX out of webpack bundle

This commit is contained in:
joostdecock 2023-10-06 09:15:07 +02:00
parent fc420160de
commit 9b32d971a5
9 changed files with 159 additions and 64 deletions

View file

@ -23,7 +23,7 @@ export const DocsTitle = ({ slug, className = '', site = 'org', format = default
}
export const DocsLink = (props) => (
<Link href={`${props.site === 'org' ? '/docs/' : ''}${props.slug}`} className={linkClasses}>
<Link href={`/${props.slug}`} className={linkClasses}>
<DocsTitle {...props} />
</Link>
)