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: don't try to display icon if name is wrong #19

Merged
merged 1 commit into from
Sep 3, 2023

Conversation

tobiasdiez
Copy link
Contributor

If loadIcon cannot find the icon based on the name passed to it, icon is void. In this case, we no longer try to display the icon.

(it's actually only a cosmetic thing, mostly triggered by nuxi complaining about types where Icon needs to be passed something and not void)

If `loadIcon` cannot find the icon based on the name passed to it, `icon` is `void`. In this case, we no longer try to display the icon.

(it's actually only a cosmetic thing, mostly triggered by nuxi complaining about types where `Icon` needs to be passed something and not void)
Copy link
Owner

@becem-gharbi becem-gharbi left a comment

Choose a reason for hiding this comment

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

Thanks :)

@becem-gharbi becem-gharbi merged commit 1f6579d into becem-gharbi:main Sep 3, 2023
@tobiasdiez tobiasdiez deleted the patch-1 branch September 3, 2023 06:20
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.

2 participants