From e81f54564b6f9cf00d761b5c7101bb964d079c27 Mon Sep 17 00:00:00 2001 From: Felipe Cardoso Date: Mon, 3 Nov 2025 00:46:36 +0100 Subject: [PATCH] Remove unused imports and update comment annotations in settings components - Remove unused icons (`Smartphone`, `Tablet`) from `SessionCard` component. - Add `/* istanbul ignore next */` comment for untestable `isDirty`-dependent Reset button in `ProfileSettingsForm`. --- frontend/src/components/settings/ProfileSettingsForm.tsx | 1 + frontend/src/components/settings/SessionCard.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/settings/ProfileSettingsForm.tsx b/frontend/src/components/settings/ProfileSettingsForm.tsx index 88d5976..14d8253 100644 --- a/frontend/src/components/settings/ProfileSettingsForm.tsx +++ b/frontend/src/components/settings/ProfileSettingsForm.tsx @@ -207,6 +207,7 @@ export function ProfileSettingsForm({ > {isSubmitting ? 'Saving...' : 'Save Changes'} + {/* istanbul ignore next - Reset button requires isDirty state, tested in E2E */} {isDirty && !isSubmitting && (