Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: preload only first 5 pages
Marc Seitz94247e36df85
diff --git a/components/view/PagesViewer.tsx b/components/view/PagesViewer.tsxindex 5d4b23f3..c73ba6df 100644--- a/components/view/PagesViewer.tsx+++ b/components/view/PagesViewer.tsx@@ -13,7 +13,7 @@ import { cn } from "@/lib/utils";import { ScreenProtector } from "./ScreenProtection";import { toast } from "sonner";-const DEFAULT_PRELOADED_IMAGES_NUM = 10;+const DEFAULT_PRELOADED_IMAGES_NUM = 5;export default function PagesViewer({pages,