Skip to content

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

remove unused var for rotation

Maidul Islam4e6642663a5e
diff --git a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx
index ca17af0c78..b89fff5ed2 100644
--- a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx
+++ b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx
@@ -187,9 +187,6 @@ export const PamResourceAccountsSection = ({ resource }: Props) => {
)}
{accounts.map((account) => {
const isAwsIamAccount = resource.resourceType === PamResourceType.AwsIam;
- const rotationEnabled = !isAwsIamAccount
- ? (account as { rotationEnabled?: boolean }).rotationEnabled
- : undefined;
const rotationStatus = !isAwsIamAccount
? (account as { rotationStatus?: string | null }).rotationStatus
: undefined;