From 46525829fb99cd87d04d66a1dd792302369b28a8 Mon Sep 17 00:00:00 2001 From: Bikash Date: Wed, 3 Jan 2024 11:32:37 +0530 Subject: [PATCH] Website prettier fixex --- src/apps/devdoc/app/layout/theme.tsx | 4 ++-- src/apps/devdoc/app/utils/config.tsx | 2 +- src/apps/devdoc/app/utils/use-config.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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?: | {