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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user