File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed
Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 1+ /* eslint-disable @typescript-eslint/naming-convention */
12import { Analytics } from '@vercel/analytics/react'
23
34export default function App ( { Component, pageProps } ) {
Original file line number Diff line number Diff line change @@ -105,19 +105,19 @@ const config: DocsThemeConfig = {
105105 }
106106}
107107
108- // TODO: get memoization working here
109- function titleComponent ( {
110- title
111- } : {
112- title : string
113- type : string
114- route : string
115- } ) {
116- if ( title === 'Guide' || title === 'Documentation' ) {
117- return < b > { title } </ b >
118- }
108+ // // TODO: get memoization working here
109+ // function titleComponent({
110+ // title
111+ // }: {
112+ // title: string
113+ // type: string
114+ // route: string
115+ // }) {
116+ // if (title === 'Guide' || title === 'Documentation') {
117+ // return <b>{title}</b>
118+ // }
119119
120- return < span > { title } </ span >
121- }
120+ // return <span>{title}</span>
121+ // }
122122
123123export default config
You can’t perform that action at this time.
0 commit comments