Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Conditionally Render Company Logo in Experience Card #707

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ubednama
Copy link

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.

Copy link

vercel bot commented Jun 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
developer-folio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2024 6:31pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant