Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix(routes): change link to button for redirecting to document
Marc Seitzce0153ed00f1
diff --git a/components/view/dataroom/document-card.tsx b/components/view/dataroom/document-card.tsxindex dc53c90c..52d98c38 100644--- a/components/view/dataroom/document-card.tsx+++ b/components/view/dataroom/document-card.tsx@@ -82,8 +82,7 @@ export default function DocumentCard({<div className="flex-col"><div className="flex items-center"><h2 className="min-w-0 max-w-[150px] truncate text-sm font-semibold leading-6 text-foreground sm:max-w-md">- <Link- href="#"+ <buttononClick={() => {setViewType("DOCUMENT_VIEW");setDocumentData({@@ -101,7 +100,7 @@ export default function DocumentCard({><span>{document.name}</span><span className="absolute inset-0" />- </Link>+ </button></h2></div></div>