Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: no loading spinner

Marc Seitza1f9230176fb
diff --git a/pages/view/[linkId]/index.tsx b/pages/view/[linkId]/index.tsx
index e393ffb1..ddf013c1 100644
--- a/pages/view/[linkId]/index.tsx
+++ b/pages/view/[linkId]/index.tsx
@@ -91,13 +91,13 @@ export default function ViewPage({
const router = useRouter();
const { data: session, status } = useSession();
- if (!link || status === "loading" || router.isFallback) {
- return (
- <div className="h-screen flex items-center justify-center">
- <LoadingSpinner className="h-20 w-20" />
- </div>
- );
- }
+ // if (!link || status === "loading" || router.isFallback) {
+ // return (
+ // <div className="h-screen flex items-center justify-center">
+ // <LoadingSpinner className="h-20 w-20" />
+ // </div>
+ // );
+ // }
const {
expiresAt,