mirror of
https://github.com/documenso/documenso.git
synced 2025-11-27 06:54:01 +10:00
fix: build issues
This commit is contained in:
@@ -12,7 +12,7 @@ export const generateMetadata = ({ params }: { params: { content: string } }) =>
|
||||
const document = allDocuments.find((post) => post._raw.flattenedPath === params.content);
|
||||
|
||||
if (!document) {
|
||||
notFound();
|
||||
return { title: 'Not Found' };
|
||||
}
|
||||
|
||||
return { title: document.title };
|
||||
|
||||
Reference in New Issue
Block a user