Remove unnecessary try catch

This commit is contained in:
Carlos Monastyrski
2025-08-11 14:41:05 -07:00
parent 2baadf60d1
commit fd4cdc2769

View File

@@ -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}>