fix(shared): MDX component fixes
This commit is contained in:
parent
b6e6e0018c
commit
6c363e70c8
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ const getPage = {
|
|||
}
|
||||
|
||||
export const DocsTitle = ({ slug, className = '', site = 'org' }) => {
|
||||
const { siteNav } = useNavigation()
|
||||
const siteNav = useNavigation()
|
||||
const page = getPage[site](slug, siteNav)
|
||||
|
||||
return page ? <span className={className}>{page.t}</span> : null
|
|
@ -8,7 +8,7 @@ import { TabbedExample as Example } from './tabbed-example.mjs'
|
|||
import { HttpMethod, HttpStatusCode } from './http.mjs'
|
||||
import { ControlTip } from '../control/tip.mjs'
|
||||
import { Legend } from './legend.mjs'
|
||||
import { DocsTitle, DocsLink } from './docs-title.mjs'
|
||||
import { DocsTitle, DocsLink } from './docs-helpers.mjs'
|
||||
import { V3Wip } from '../v3-wip.mjs'
|
||||
|
||||
export const components = (site = 'org') => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue