Fix critical path catch blocks

This commit is contained in:
gpt-engineer-app[bot]
2025-10-21 15:32:01 +00:00
parent 05ba99e368
commit 5e789c7b4b
14 changed files with 33 additions and 33 deletions

View File

@@ -143,7 +143,7 @@ export function AccountProfileTab() {
await refreshProfile();
handleSuccess('Profile updated', 'Your profile has been successfully updated.');
} catch (error) {
} catch (error: unknown) {
handleError(error, { action: 'Update profile', userId: user.id });
} finally {
setLoading(false);
@@ -204,7 +204,7 @@ export function AccountProfileTab() {
setShowCancelEmailDialog(false);
await refreshProfile();
} catch (error) {
} catch (error: unknown) {
handleError(error, { action: 'Cancel email change' });
} finally {
setCancellingEmail(false);