Fix: Resolve TypeScript errors

This commit is contained in:
gpt-engineer-app[bot]
2025-11-03 02:28:57 +00:00
parent f6c409fac4
commit 9e8e8719b4
14 changed files with 48 additions and 30 deletions

View File

@@ -253,7 +253,7 @@ export function EmailChangeDialog({ open, onOpenChange, currentEmail, userId }:
metadata: {
currentEmail,
newEmail: data.newEmail,
errorType: error.constructor.name
errorType: error instanceof Error ? error.constructor.name : 'Unknown'
}
}
);