Fix frontend TypeScript compilation errors

- Fix process.env.NODE_ENV in ApplicationInfo.tsx (use import.meta.env.DEV)
- Remove unused variables and imports in Profile.tsx, ProfileSettings.tsx, RoleManagement.tsx, UserManagement.tsx, UserSettings.tsx
- Fix FormData type issue in UserSettings.tsx (use React.FormEvent<HTMLFormElement>)
This commit is contained in:
2026-01-15 03:30:11 +01:00
parent ff46da842f
commit c60fbe8821
6 changed files with 29 additions and 29 deletions

View File

@@ -1176,7 +1176,7 @@ function InfoRow({ label, value, referenceValue, infoDescription, jiraHost }: {
const description = infoDescription || referenceValue?.description || null;
// Debug: log referenceValue info for fields that should have descriptions
if (referenceValue && process.env.NODE_ENV === 'development') {
if (referenceValue && import.meta.env.DEV) {
}
return (