Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
chore: hide annotations
Marc Seitz570413ec39a9
diff --git a/pages/documents/[id]/index.tsx b/pages/documents/[id]/index.tsxindex 5586e2d1..e5d4a460 100644--- a/pages/documents/[id]/index.tsx+++ b/pages/documents/[id]/index.tsx@@ -166,15 +166,15 @@ export default function DocumentPage() {primaryVersion={primaryVersion}onUrlUpdate={mutateDocument}/>,- <>- {featureFlags?.annotations && (- <AnnotationSheet- documentId={prismaDocument.id}- teamId={teamId}- numPages={primaryVersion.numPages || 1}- />- )}- </>,+ // <>+ // {featureFlags?.annotations && (+ // <AnnotationSheet+ // documentId={prismaDocument.id}+ // teamId={teamId}+ // numPages={primaryVersion.numPages || 1}+ // />+ // )}+ // </>,<DocumentPreviewButtonkey={"preview"}documentId={prismaDocument.id}