Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: hide account creation on vertical docs
Marc Seitz22b2b094cff1
diff --git a/components/view/PagesViewerNew.tsx b/components/view/PagesViewerNew.tsxindex a9730fcb..79ca00a0 100644--- a/components/view/PagesViewerNew.tsx+++ b/components/view/PagesViewerNew.tsx@@ -21,7 +21,6 @@ import { toast } from "sonner";import { cn } from "@/lib/utils";import { useMediaQuery } from "@/lib/utils/use-media-query";-import LoadingSpinner from "../ui/loading-spinner";import { ScreenProtector } from "./ScreenProtection";import { TDocumentData } from "./dataroom/dataroom-view";import Nav from "./nav";@@ -124,7 +123,8 @@ export default function PagesViewer({const showStatsSlideWithAccountCreation =showAccountCreationSlide && // if showAccountCreationSlide is enabledsessionStatus !== "authenticated" && // and user is not authenticated- !dataroomId; // and it's not a dataroom+ !dataroomId && // and it's not a dataroom+ !isVertical; // and it's not vertical documentconst numPages = pages.length;const numPagesWithFeedback =