From ac50492fbc27f036f4407af405f33f826942d42d Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Mon, 29 Aug 2022 17:27:01 +0530 Subject: [PATCH] fix: add warn and trash icon (#4008) Co-authored-by: Peer Richelsen --- apps/web/components/webhook/WebhookListItem.tsx | 2 +- packages/features/ee/api-keys/components/ApiKeyListItem.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/web/components/webhook/WebhookListItem.tsx b/apps/web/components/webhook/WebhookListItem.tsx index ca8400eb84..65118b7159 100644 --- a/apps/web/components/webhook/WebhookListItem.tsx +++ b/apps/web/components/webhook/WebhookListItem.tsx @@ -65,8 +65,8 @@ export default function WebhookListItem(props: { webhook: TWebhook; onEditWebhoo onClick={(e) => { e.stopPropagation(); }} - color="minimal" size="icon" + color="warn" StartIcon={Icon.FiTrash} className="ml-2 w-full self-center p-2" /> diff --git a/packages/features/ee/api-keys/components/ApiKeyListItem.tsx b/packages/features/ee/api-keys/components/ApiKeyListItem.tsx index 31b7a5a7ea..a361b01428 100644 --- a/packages/features/ee/api-keys/components/ApiKeyListItem.tsx +++ b/packages/features/ee/api-keys/components/ApiKeyListItem.tsx @@ -73,8 +73,9 @@ export default function ApiKeyListItem(props: { apiKey: TApiKeys; onEditApiKey: onClick={(e) => { e.stopPropagation(); }} - color="minimal" + color="warn" size="icon" + StartIcon={Icon.FiTrash} className="ml-2 w-full self-center p-2" />