Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Remove unnecessary try catch
Carlos Monastyrskifd4cdc276956
diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewFolderRow/SecretOverviewFolderRow.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewFolderRow/SecretOverviewFolderRow.tsxindex 0cf62e1d67..a969edea83 100644--- a/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewFolderRow/SecretOverviewFolderRow.tsx+++ b/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewFolderRow/SecretOverviewFolderRow.tsx@@ -29,11 +29,8 @@ export const SecretOverviewFolderRow = ({if (isClicking) return;setIsClicking(true);- try {- onClick(folderName);- } finally {- setTimeout(() => setIsClicking(false), 1000);- }+ onClick(folderName);+ setTimeout(() => setIsClicking(false), 1000);};return (<Tr isHoverable isSelectable className="group" onClick={handleClick}>