The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update webhook-status.tsx
Steven Tey56d79d2e4d4b
diff --git a/apps/web/ui/webhooks/webhook-status.tsx b/apps/web/ui/webhooks/webhook-status.tsxindex 65148590a1..99efa8b6c1 100644--- a/apps/web/ui/webhooks/webhook-status.tsx+++ b/apps/web/ui/webhooks/webhook-status.tsx@@ -11,10 +11,14 @@ export const WebhookStatus = ({return (<spanclassName={cn(- "inline-flex items-center justify-center rounded-full p-1.5 text-xs font-medium",- disabledAt ? "bg-red-500 text-white" : "bg-green-500 text-black",+ "inline-flex rounded-full px-2 py-0.5 text-xs font-medium",+ {+ "bg-red-100 text-red-500": disabledAt,+ "bg-green-100 text-green-500": !disabledAt,+ },)}- title={disabledAt ? "Disabled" : "Enabled"}- />+ >+ {disabledAt ? "Disabled" : "Enabled"}+ </span>);};