The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fixed ts error
Steven Tey18b1eb7b4aa9
diff --git a/lib/utils.ts b/lib/utils.tsindex f9317b240d..0939c88f6f 100644--- a/lib/utils.ts+++ b/lib/utils.ts@@ -225,7 +225,7 @@ export const getDomainWithoutWWW = (url: string) => {export const getQueryString = (router: NextRouter,- opts: Record<string, string>,+ opts?: Record<string, string>,) => {// here, we omit the slug from the query string because// for some reason it breaks the router because of middleware rewrites