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

Bug: Unable to use X icon even on latest version #778

Closed
siddheshranade opened this issue Dec 20, 2023 · 2 comments
Closed

Bug: Unable to use X icon even on latest version #778

siddheshranade opened this issue Dec 20, 2023 · 2 comments

Comments

@siddheshranade
Copy link

My company's website (NextJS app) has links to Twitter in the footer, which uses the Twitter icon from this package like this:

import TwitterIcon from "super-tiny-icons/images/svg/twitter.svg";

This works perfectly. I wanted to change the Twitter icon to the X icon, to reflect the website's new change. However, this does not work:

import TwitterIcon from "super-tiny-icons/images/svg/x.svg";

It gives the Module not found: Can't resolve 'super-tiny-icons/images/svg/x.svg' error.

Two things to note:

  1. It gives the same error on versions 0.4.0 and 0.5.0 of this package.
  2. Every other icon I tried importing apart from X successfully works.

I think this is a bug. Let me know if I'm doing something wrong or if more info is needed.

@edent
Copy link
Owner

edent commented Dec 20, 2023

I've tried publishing a new version. Please let me know if 0.6.0 solves it.

@siddheshranade
Copy link
Author

@edent Yes, that works, thank you!

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

No branches or pull requests

2 participants