The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
small fixes
Steven Tey82579f392584
diff --git a/apps/web/app/api/analytics/demo/route.ts b/apps/web/app/api/analytics/demo/route.tsindex 968a3eb78a..9da7a746e1 100644--- a/apps/web/app/api/analytics/demo/route.ts+++ b/apps/web/app/api/analytics/demo/route.ts@@ -3,8 +3,8 @@ import { withSession } from "@/lib/auth";import { analyticsQuerySchema } from "@/lib/zod/schemas/analytics";import { NextResponse } from "next/server";-// GET /api/analytics/demo/[eventType]/[endpoint]-export const GET = withSession(async ({ params, searchParams }) => {+// GET /api/analytics/demo+export const GET = withSession(async ({ searchParams }) => {const parsedParams = analyticsQuerySchema.parse(searchParams);const response = await getAnalytics({diff --git a/apps/web/ui/analytics/locations.tsx b/apps/web/ui/analytics/locations.tsxindex 88c88ec90d..4657e278d6 100644--- a/apps/web/ui/analytics/locations.tsx+++ b/apps/web/ui/analytics/locations.tsx@@ -35,7 +35,6 @@ export default function Locations() {fetcher,{ shouldRetryOnError: !requiresUpgrade },);- console.log({ data });const { queryParams } = useRouterStuff();const [showModal, setShowModal] = useState(false);