diff --git a/apps/web/src/app/(share)/share/[shareId]/page.tsx b/apps/web/src/app/(share)/share/[shareId]/page.tsx index 56d3a941e..5e8389558 100644 --- a/apps/web/src/app/(share)/share/[shareId]/page.tsx +++ b/apps/web/src/app/(share)/share/[shareId]/page.tsx @@ -5,22 +5,12 @@ import { notFound } from 'next/navigation'; import { getSharingId } from '@documenso/lib/server-only/share/get-share-id'; -// import Redirect from './redirect'; +import Redirect from './redirect'; -type MetadataProps = { - params: { shareId: string }; +export const metadata: Metadata = { + title: 'Documenso - Share', }; -export async function generateMetadata({ params }: MetadataProps): Promise { - const id = params.shareId; - const share = await getSharingId({ shareId: id }); - const signature = share?.recipent.name || share?.recipent.email; - - return { - title: 'Documenso - Share', - }; -} - export type SharePageProps = { params: { shareId?: string; @@ -42,7 +32,7 @@ export default async function SharePage({ params: { shareId } }: SharePageProps)

Share Page

Redirecting...

- {/* */} +
); }