wip(shared): Taking MDX out of webpack bundle
This commit is contained in:
parent
fc420160de
commit
9b32d971a5
9 changed files with 159 additions and 64 deletions
|
@ -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>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue