diff --git a/apps/www/app/docs/[[...slug]]/page.tsx b/apps/www/app/docs/[[...slug]]/page.tsx index 710e5a3a7a0..0e82b350789 100644 --- a/apps/www/app/docs/[[...slug]]/page.tsx +++ b/apps/www/app/docs/[[...slug]]/page.tsx @@ -28,7 +28,7 @@ async function getDocFromParams({ params }: DocPageProps) { const doc = allDocs.find((doc) => doc.slugAsParams === slug) if (!doc) { - null + return null } return doc