developerFolio
developerFolio copied to clipboard
Fix: Conditionally Render Company Logo in Experience Card
Changes Made:
Added a condition to check if cardInfo.companylogo exists before rendering the tag in the experience card component.
Reason for Change: Ensures that a circular logo icon is displayed only when a company logo is provided. This prevents the display of an empty circular icon when cardInfo.companylogo is not defined, improving the user experience.
Testing Done: Tested the change locally with scenarios where cardInfo.companylogo is both defined and undefined. Verified that the experience card renders correctly in both cases without errors.
Additional Notes: This change enhances the component's robustness by handling cases where the company logo is not available gracefully.