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.

run prettier

Kiran K597a722acc74
diff --git a/apps/web/lib/tinybird/record-click.ts b/apps/web/lib/tinybird/record-click.ts
index d6242c9c08..ee2a1f67a8 100644
--- a/apps/web/lib/tinybird/record-click.ts
+++ b/apps/web/lib/tinybird/record-click.ts
@@ -10,7 +10,6 @@ import { NextRequest, userAgent } from "next/server";
import { detectBot, detectQr, getIdentityHash } from "../middleware/utils";
import { conn } from "../planetscale";
import { ratelimit } from "../upstash";
-import { sendToWebhook } from "../webhook/publish";
/**
* Recording clicks with geo, ua, referer and timestamp data
diff --git a/apps/web/lib/webhook/constants.ts b/apps/web/lib/webhook/constants.ts
index 1a8fb92907..c542afbc4b 100644
--- a/apps/web/lib/webhook/constants.ts
+++ b/apps/web/lib/webhook/constants.ts
@@ -4,4 +4,4 @@ export const WEBHOOK_TRIGGERS = ["link.created", "link.clicked"] as const;
export const WEBHOOK_SECRET_LENGTH = 16;
-export const WEBHOOK_SECRET_PREFIX = `whsec_`;
\ No newline at end of file
+export const WEBHOOK_SECRET_PREFIX = `whsec_`;
diff --git a/apps/web/ui/webhooks/webhook-card.tsx b/apps/web/ui/webhooks/webhook-card.tsx
index 753c4af5f8..24298981b7 100644
--- a/apps/web/ui/webhooks/webhook-card.tsx
+++ b/apps/web/ui/webhooks/webhook-card.tsx
@@ -19,7 +19,7 @@ export default function WebhookCard(webhook: WebhookProps) {
<div>
<div className="flex items-center gap-1">
<p className="font-semibold text-gray-700">{webhook.name}</p>
- <span className="text-gray-400 text-sm">{webhook.url}</span>
+ <span className="text-sm text-gray-400">{webhook.url}</span>
</div>
<div className="flex items-center gap-1 text-sm text-gray-500">
Last updated