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

updated react-icons #2603

Closed

Conversation

coderboy-yash
Copy link

@coderboy-yash coderboy-yash commented Jan 21, 2025

Which problem is this PR solving?

#2518 of #2576

Description of the changes

  • I have installed react-icons version "5.4.0"
  • after installation this error was shown in the console
    image
    after going through the react-icons website I found that there is no LuLoader2 component in react-icons version"5.4.0" and some more people also mentioned the issue with LuLoader2 component.
    so I have replace the LuLoader2 component with LuLoader component of react-icons.

loader icon before changes

image

loader icon after changes

image

How was this change tested?

  • npm run test
  • npm run start

Checklist

Signed-off-by: coderboy-yash <[email protected]>
@coderboy-yash coderboy-yash requested a review from a team as a code owner January 21, 2025 05:28
@coderboy-yash coderboy-yash requested review from pavolloffay and removed request for a team January 21, 2025 05:28
Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

lock file has many unrelated changes

@coderboy-yash
Copy link
Author

lock file has many unrelated changes

Thank you for replying, sir. Is this the only problem, or are there other issues as well? Please mention them so I can address everything at once

@@ -34,7 +34,7 @@ export default function LoadingIndicator(props: LoadingIndicatorProps) {
${small ? 'is-small' : ''}
${className || ''}
`;
return <LuLoader2 className={cls} {...rest} />;
return <LuLoader className={cls} {...rest} />;
Copy link
Member

Choose a reason for hiding this comment

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

why? There is LuLoaderCircle which looks more similar to the previous one.

@yurishkuro
Copy link
Member

addressed in #2518. Thanks for investigation that made the fix easy.

@yurishkuro yurishkuro closed this Feb 5, 2025
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.

3 participants