Skip to content

Conversation

@isstuev
Copy link
Collaborator

@isstuev isstuev commented Nov 25, 2025

Description and Related Issue(s)

fixes #3147

Additional Information

Also I refactored NetworkLogo component since it was a bit overengineered

Checklist for PR author

  • I have tested these changes locally.
  • I added tests to cover any new functionality, following this guide
  • Whenever I fix a bug, I include a regression test to ensure that the bug does not reappear silently.
  • If I have added, changed, renamed, or removed an environment variable
    • I updated the list of environment variables in the documentation
    • I made the necessary changes to the validator script according to the guide
    • I added "ENVs" label to this pull request

Comment on lines +9 to +11
// for the case where the image dimensions are not known before the image is loaded
skeletonWidth?: BoxProps['width'];
skeletonHeight?: BoxProps['height'];
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since skeletonWidth without skeletonHeight doesn't make much sense (if I understand the comment correctly), it may be better to combine these props into a single object.

Suggested change
// for the case where the image dimensions are not known before the image is loaded
skeletonWidth?: BoxProps['width'];
skeletonHeight?: BoxProps['height'];
// for the case where the image dimensions are not known before the image is loaded
skeletonProps?: BoxProps;

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

skeleton props are inherited from the component props, but can be overwritten by those -- I think it's clearer what are they for in case of width/height, not just generic 'props'

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.

testnet label fixes

3 participants