Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

"use server"

Steven Tey5f57219d3118
diff --git a/apps/web/lib/actions/get-events.ts b/apps/web/lib/actions/get-events.ts
index 335fadeffc..5ad6d2c181 100644
--- a/apps/web/lib/actions/get-events.ts
+++ b/apps/web/lib/actions/get-events.ts
@@ -1,3 +1,5 @@
+"use server";
+
import { unstable_cache } from "next/cache";
import { EventType } from "../analytics/types";
diff --git a/apps/web/lib/actions/get-referral-link.ts b/apps/web/lib/actions/get-referral-link.ts
index 4522cda702..5af75ebec7 100644
--- a/apps/web/lib/actions/get-referral-link.ts
+++ b/apps/web/lib/actions/get-referral-link.ts
@@ -1,3 +1,5 @@
+"use server";
+
import { dub } from "@/lib/dub";
import { prisma } from "@/lib/prisma";
diff --git a/apps/web/lib/actions/get-total-events.ts b/apps/web/lib/actions/get-total-events.ts
index f40ea7a9b9..a050dddf27 100644
--- a/apps/web/lib/actions/get-total-events.ts
+++ b/apps/web/lib/actions/get-total-events.ts
@@ -1,3 +1,5 @@
+"use server";
+
import { unstable_cache } from "next/cache";
export const getTotalEvents = unstable_cache(async (linkId: string) => {