Skip to content

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

fix

Marc Seitz9bae7bca08a7
diff --git a/components/links/links-visitors.tsx b/components/links/links-visitors.tsx
index 0dd34b94..b9914bc2 100644
--- a/components/links/links-visitors.tsx
+++ b/components/links/links-visitors.tsx
@@ -1,3 +1,5 @@
+import Link from "next/link";
+
import { AlertTriangleIcon } from "lucide-react";
import { usePlan } from "@/lib/swr/use-billing";
@@ -32,12 +34,12 @@ export default function LinksVisitors({
subscription was paused and{" "}
{hiddenFromPause !== 1 ? "are" : "is"} hidden.
</span>
- <a
+ <Link
href="/settings/billing"
className="font-medium text-orange-600 underline hover:text-orange-700"
>
Unpause subscription to see all visits
- </a>
+ </Link>
</div>
</TableCell>
</TableRow>
diff --git a/components/visitors/visitors-table.tsx b/components/visitors/visitors-table.tsx
index 9597a2bb..e48e0b19 100644
--- a/components/visitors/visitors-table.tsx
+++ b/components/visitors/visitors-table.tsx
@@ -1,3 +1,5 @@
+import Link from "next/link";
+
import { useState } from "react";
import { useTeam } from "@/context/team-context";
@@ -173,12 +175,12 @@ export default function VisitorsTable({
{views.hiddenFromPause !== 1 ? "are" : "is"}{" "}
hidden.{" "}
</span>
- <a
+ <Link
href="/settings/billing"
className="font-medium text-orange-600 underline hover:text-orange-700"
>
Unpause subscription to see all visits
- </a>
+ </Link>
</div>
) : (
// Show regular free plan message