Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

swap card remove icon to an X

Andrey7f2cbcd9f7a8
diff --git a/frontend/src/pages/pam/components/auto-approval/AutoApprovalRuleCard.tsx b/frontend/src/pages/pam/components/auto-approval/AutoApprovalRuleCard.tsx
index 084115d08f..f900f7c0ea 100644
--- a/frontend/src/pages/pam/components/auto-approval/AutoApprovalRuleCard.tsx
+++ b/frontend/src/pages/pam/components/auto-approval/AutoApprovalRuleCard.tsx
@@ -1,5 +1,5 @@
import { Fragment } from "react";
-import { Plus, ShieldAlert, Trash2, X } from "lucide-react";
+import { Plus, ShieldAlert, X } from "lucide-react";
import {
Alert,
@@ -268,7 +268,7 @@ export const AutoApprovalRuleCard = ({
className="text-muted hover:text-danger"
onClick={onRemove}
>
- <Trash2 className="size-4" />
+ <X className="size-4" />
</IconButton>
</div>