Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: link may be null
Marc Seitzab8cb7a9fb9a
diff --git a/pages/view/d/[linkId]/index.tsx b/pages/view/d/[linkId]/index.tsxindex 632851f2..721b8b95 100644--- a/pages/view/d/[linkId]/index.tsx+++ b/pages/view/d/[linkId]/index.tsx@@ -133,7 +133,7 @@ export default function ViewPage({<><CustomMetatagenableBranding={meta?.enableCustomMetatag ?? false}- title={meta?.metaTitle ?? link.dataroom.name}+ title={meta?.metaTitle ?? link?.dataroom.name ?? "Dataroom"}description={meta?.metaDescription ?? null}imageUrl={meta?.metaImage ?? null}url={`https://www.papermark.io/view/d/${router.query.linkId}`}