Skip to content

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

fix: update plan check

Marc Seitzb5450e04d318
diff --git a/lib/swr/use-billing.ts b/lib/swr/use-billing.ts
index 575e16e8..957bd9d2 100644
--- a/lib/swr/use-billing.ts
+++ b/lib/swr/use-billing.ts
@@ -73,9 +73,6 @@ export function usePlan() {
const { data: plan, error } = useSWR<PlanResponse>(
teamId && `/api/teams/${teamId}/billing/plan`,
fetcher,
- {
- dedupingInterval: 60000,
- },
);
// Parse the plan using the parsing function