Skip to content

Self-improving AI Employees for everyone

fix: Rename unused catch variable to _err for ESLint compliance

trohitg20dea577f5d9
diff --git a/client/src/components/parameterPanel/MiddleSection.tsx b/client/src/components/parameterPanel/MiddleSection.tsx
index e447d4be..f599bc1c 100644
--- a/client/src/components/parameterPanel/MiddleSection.tsx
+++ b/client/src/components/parameterPanel/MiddleSection.tsx
@@ -765,7 +765,7 @@ const MiddleSection: React.FC<MiddleSectionProps> = ({
setCompactionStats(prev => prev ? { ...prev, threshold: editThresholdValue } : null);
setIsEditingThreshold(false);
message.success('Threshold updated');
- } catch (err) {
+ } catch (_err) {
message.error('Failed to update threshold');
} finally {
setSavingThreshold(false);