fix: Remove incorrect formData.case.meta access causing crash
Problem: - Line 77 tried to access formData.case.meta - formData structure changed to propertyName format - formData.case doesn't exist, causing runtime error - Form shows blank screen due to crash Solution: - Removed incorrect formData.case.meta access - Added proper logging for formData and propertyName structure - Form should now render correctly Files: - frontend/src/components/form/StepClaimConfirmation.tsx: Fixed formData access
This commit is contained in:
@@ -74,7 +74,9 @@ export default function StepClaimConfirmation({
|
||||
},
|
||||
};
|
||||
|
||||
console.log('📋 Сформированные formData.meta:', formData.case.meta);
|
||||
console.log('📋 Сформированные formData:', formData);
|
||||
console.log('📋 formData.propertyName:', formData.propertyName);
|
||||
console.log('📋 formData.propertyName?.meta:', formData.propertyName?.meta);
|
||||
|
||||
// Генерируем HTML форму здесь, на нашей стороне
|
||||
const html = generateConfirmationFormHTML(formData);
|
||||
|
||||
Reference in New Issue
Block a user