diff --git a/src/components/ProfileSettings.tsx b/src/components/ProfileSettings.tsx index ad1a21a..501140f 100644 --- a/src/components/ProfileSettings.tsx +++ b/src/components/ProfileSettings.tsx @@ -148,9 +148,9 @@ export const ProfileSettings: React.FC = ({ const parsed = data.profile; setParseStep('Structuring work history & technical skill tokens...'); - const skills = Array.isArray(parsed.skills) && parsed.skills.length > 0 ? parsed.skills : prev.skills; - const experience = Array.isArray(parsed.experience) && parsed.experience.length > 0 ? parsed.experience : prev.experience; - const education = Array.isArray(parsed.education) && parsed.education.length > 0 ? parsed.education : prev.education; + const skills = Array.isArray(parsed.skills) && parsed.skills.length > 0 ? parsed.skills : profile.skills; + const experience = Array.isArray(parsed.experience) && parsed.experience.length > 0 ? parsed.experience : profile.experience; + const education = Array.isArray(parsed.education) && parsed.education.length > 0 ? parsed.education : profile.education; setParsedLiveStats({ name: parsed.fullName || 'Candidate',