Skip to content

Scheduling infrastructure for absolutely everyone.

replaced webhook icon with actual webhook logo (#6161)

Peer Richelsenaf83350d0466
diff --git a/apps/web/components/eventtype/EventTeamWebhooksTab.tsx b/apps/web/components/eventtype/EventTeamWebhooksTab.tsx
index 07e72843909..5abbda8a68b 100644
--- a/apps/web/components/eventtype/EventTeamWebhooksTab.tsx
+++ b/apps/web/components/eventtype/EventTeamWebhooksTab.tsx
@@ -1,5 +1,6 @@
import { EventTypeSetupInfered, FormValues } from "pages/event-types/[type]";
import { useState } from "react";
+import { TbWebhook } from "react-icons/tb";
import { WebhookForm } from "@calcom/features/webhooks/components";
import { WebhookFormSubmitData } from "@calcom/features/webhooks/components/WebhookForm";
@@ -117,7 +118,7 @@ export const EventTeamWebhooksTab = ({
</>
) : (
<EmptyScreen
- Icon={Icon.FiLink}
+ Icon={TbWebhook}
headline={t("create_your_first_webhook")}
description={t("create_your_first_team_webhook_description", { appName: APP_NAME })}
buttonRaw={<NewWebhookButton />}
diff --git a/apps/web/components/eventtype/EventTypeSingleLayout.tsx b/apps/web/components/eventtype/EventTypeSingleLayout.tsx
index f357d015ce0..236e7735c9c 100644
--- a/apps/web/components/eventtype/EventTypeSingleLayout.tsx
+++ b/apps/web/components/eventtype/EventTypeSingleLayout.tsx
@@ -3,6 +3,7 @@ import { useRouter } from "next/router";
import { EventTypeSetupInfered, FormValues } from "pages/event-types/[type]";
import { useMemo, useState } from "react";
import { UseFormReturn } from "react-hook-form";
+import { TbWebhook } from "react-icons/tb";
import { classNames } from "@calcom/lib";
import { CAL_URL } from "@calcom/lib/constants";
@@ -159,7 +160,7 @@ function EventTypeSingleLayout({
navigation.push({
name: "webhooks",
href: `/event-types/${eventType.id}?tabName=webhooks`,
- icon: Icon.FiLink,
+ icon: TbWebhook,
info: `${eventType.webhooks.filter((webhook) => webhook.active).length} ${t("active")}`,
});
}