File tree Expand file tree Collapse file tree 4 files changed +10
-30
lines changed
Expand file tree Collapse file tree 4 files changed +10
-30
lines changed Original file line number Diff line number Diff line change @@ -39,4 +39,7 @@ next-env.d.ts
3939.cursor
4040
4141# contentlayer
42- .contentlayer
42+ .contentlayer
43+
44+ # source
45+ .source
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- import { source } from ' @/lib/source' ;
2- import { DocsPage , DocsBody } from ' fumadocs-ui/page' ;
3- import { notFound } from ' next/navigation' ;
4- import type { Metadata } from ' next' ;
5- import { getMDXComponents } from ' @/mdx-components' ;
1+ import { source } from " @/lib/source" ;
2+ import { DocsPage , DocsBody } from " fumadocs-ui/page" ;
3+ import { notFound } from " next/navigation" ;
4+ import type { Metadata } from " next" ;
5+ import { getMDXComponents } from " @/mdx-components" ;
66
77interface Param {
88 params : Promise < {
@@ -41,9 +41,8 @@ export async function generateMetadata({ params }: Param): Promise<Metadata> {
4141 const page = source . getPage ( slug ) ;
4242 if ( page == null ) {
4343 notFound ( ) ;
44- return ;
4544 }
46-
45+
4746 return {
4847 title : page . data . title ,
4948 description : page . data . description ,
You can’t perform that action at this time.
0 commit comments