diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewFolderRow/SecretOverviewFolderRow.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewFolderRow/SecretOverviewFolderRow.tsx index 0cf62e1d6..a969edea8 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 (