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.

Delete apps/web/lib/swr/mutate-prefix.ts

Steven Teyec33522ee471
diff --git a/apps/web/lib/swr/mutate-prefix.ts b/apps/web/lib/swr/mutate-prefix.ts
deleted file mode 100644
index 61bf09249b..0000000000
--- a/apps/web/lib/swr/mutate-prefix.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { mutate } from "swr";
-
-export const mutatePrefix = (prefix: string) => {
- mutate(
- (key) => typeof key === "string" && key.startsWith(prefix),
- undefined,
- { revalidate: true },
- );
-};