Skip to content

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

address review

x0322054ea36a032ae2
diff --git a/frontend/src/pages/pam/PamAccountsPage/components/PamAccountsTable.tsx b/frontend/src/pages/pam/PamAccountsPage/components/PamAccountsTable.tsx
index f5b9280dba..bd5da7bacb 100644
--- a/frontend/src/pages/pam/PamAccountsPage/components/PamAccountsTable.tsx
+++ b/frontend/src/pages/pam/PamAccountsPage/components/PamAccountsTable.tsx
@@ -236,7 +236,7 @@ export const PamAccountsTable = ({ projectId }: Props) => {
const resources = resourcesData?.resources || [];
- async function accessAccount(account: TPamAccount) {
+ const accessAccount = async (account: TPamAccount) => {
let fullAccountPath = account.name;
const folderPath = account.folderId ? folderPaths[account.folderId] : undefined;
if (folderPath) {
@@ -269,7 +269,7 @@ export const PamAccountsTable = ({ projectId }: Props) => {
} else {
handlePopUpOpen("accessAccount", account);
}
- }
+ };
return (
<div className="flex flex-col gap-4">