diff --git a/src/apps/devdoc/app/layout/theme.tsx b/src/apps/devdoc/app/layout/theme.tsx index c01b37f5a..2933062f8 100644 --- a/src/apps/devdoc/app/layout/theme.tsx +++ b/src/apps/devdoc/app/layout/theme.tsx @@ -40,7 +40,7 @@ function GitTimestamp({ timestamp }: { timestamp: Date }) { const Main = ({ children, pageOpts }: NextraThemeLayoutProps) => { const { title, frontMatter, pageMap, headings } = pageOpts; console.log(pageOpts); - + const { state } = useMenu(); useEffect(() => { @@ -78,7 +78,7 @@ const Main = ({ children, pageOpts }: NextraThemeLayoutProps) => { return (
- {title === "Index" ? config.siteTitle : title} + {title === 'Index' ? config.siteTitle : title} { }; export default { - siteTitle:"Kloudlite", + siteTitle: 'Kloudlite', logo: (
diff --git a/src/apps/devdoc/app/utils/use-config.tsx b/src/apps/devdoc/app/utils/use-config.tsx index bceec55c1..42cdf1adb 100644 --- a/src/apps/devdoc/app/utils/use-config.tsx +++ b/src/apps/devdoc/app/utils/use-config.tsx @@ -10,7 +10,7 @@ import { } from 'react'; export interface IConfig { - siteTitle?:string; + siteTitle?: string; logo?: ReactNode; footer?: | {