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

made links apear conditionally #983

Merged
merged 2 commits into from
Dec 29, 2023
Merged

made links apear conditionally #983

merged 2 commits into from
Dec 29, 2023

Conversation

fardinzam
Copy link
Contributor

Screenshot 2023-12-28 at 4 20 55 PM

@fardinzam fardinzam self-assigned this Dec 29, 2023
@fardinzam fardinzam linked an issue Dec 29, 2023 that may be closed by this pull request
{ICONS[link.name]}
</Link>
))}
links.map((link, index) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

u can combine the map and if condition with a filter. do an implicit return

@shahdivyank shahdivyank merged commit 934e8fb into dev Dec 29, 2023
6 checks passed
@shahdivyank shahdivyank deleted the fardinzam/show-valid-link branch December 29, 2023 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Only Show Valid Links
2 participants