Skip to content

Commit

Permalink
add missing return Update page.tsx (#1952)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri POSTOLOV authored Nov 16, 2023
1 parent 08018ed commit c579e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/www/app/docs/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function getDocFromParams({ params }: DocPageProps) {
const doc = allDocs.find((doc) => doc.slugAsParams === slug)

if (!doc) {
null
return null
}

return doc
Expand Down

1 comment on commit c579e92

@vercel
Copy link

@vercel vercel bot commented on c579e92 Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./apps/www

ui-shadcn-pro.vercel.app
example-playground.vercel.app
ui-git-main-shadcn-pro.vercel.app
ui.shadcn.com

Please sign in to comment.