Skip to content

Commit d0814f6

Browse files
committed
fix: props for DocsPage
Signed-off-by: ItsNeil17 <neil@willofsteel.me>
1 parent f6d8d9b commit d0814f6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/app/docs/[[...slug]]/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ export default async function Page(props: PageProps<"/docs/[[...slug]]">) {
1919
const MDX = page.data.body;
2020

2121
return (
22-
<DocsPage toc={page.data.toc} full={page.data.full}>
22+
<DocsPage toc={page.data.toc}>
23+
<DocsTitle>{page.data.title}</DocsTitle>
2324
<DocsDescription>{page.data.description}</DocsDescription>
2425

2526
<div className="inline-block">

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const hankenGrotesk = Hanken_Grotesk({
1414

1515
export default function Layout({ children }: LayoutProps<"/">) {
1616
return (
17-
<html lang="en" className={hankenGrotesk.style} suppressHydrationWarning>
17+
<html lang="en" className={hankenGrotesk.className} suppressHydrationWarning>
1818
<body className="flex min-h-screen flex-col">
1919
<RootProvider>{children}</RootProvider>
2020
</body>

0 commit comments

Comments
 (0)