Skip to content

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

fix

Marc Seitz92dc3e548081
diff --git a/components/analytics/views-table.tsx b/components/analytics/views-table.tsx
index b68954ff..638e6128 100644
--- a/components/analytics/views-table.tsx
+++ b/components/analytics/views-table.tsx
@@ -370,12 +370,12 @@ export default function ViewsTable({
after your team was paused and{" "}
{hiddenFromPause !== 1 ? "are" : "is"} hidden.{" "}
</span>
- <a
+ <Link
href="/settings/billing"
className="text-sm font-medium text-orange-600 underline hover:text-orange-700"
>
Unpause subscription to see all views
- </a>
+ </Link>
</div>
)}
<div className="flex justify-end">
diff --git a/components/analytics/visitors-table.tsx b/components/analytics/visitors-table.tsx
index e566ce96..277ccd90 100644
--- a/components/analytics/visitors-table.tsx
+++ b/components/analytics/visitors-table.tsx
@@ -1,3 +1,4 @@
+import Link from "next/link";
import { useRouter } from "next/router";
import { useState } from "react";
@@ -308,12 +309,12 @@ export default function VisitorsTable({
after your team was paused and{" "}
{hiddenFromPause !== 1 ? "are" : "is"} hidden.{" "}
</span>
- <a
+ <Link
href="/settings/billing"
className="text-sm font-medium text-orange-600 underline hover:text-orange-700"
>
Unpause subscription to see all views
- </a>
+ </Link>
</div>
)}
<div className="flex justify-end">