Skip to content

fix: prevent hasNetwork prop from being forwarded to DOM#58

Merged
LucasWerey merged 2 commits into
LedgerHQ:mainfrom
meriadec:fix-invalid-dom-attribute
Nov 7, 2025
Merged

fix: prevent hasNetwork prop from being forwarded to DOM#58
LucasWerey merged 2 commits into
LedgerHQ:mainfrom
meriadec:fix-invalid-dom-attribute

Conversation

@meriadec

@meriadec meriadec commented Nov 7, 2025

Copy link
Copy Markdown
Member

This makes the hasNetwork prop of <CryptoIcon /> a transient prop (with $ prefix), so that styled-components avoid forwarding it to DOM.

References:

For the record, it was causing this warning:

1762500022

This makes the `hasNetwork` prop of `<CryptoIcon />` a transient prop
(with `$` prefix), so that styled-components avoid forwarding it to DOM.

References:

- https://styled-components.com/docs/api#transient-props
@LucasWerey LucasWerey merged commit 737c35a into LedgerHQ:main Nov 7, 2025
6 checks passed
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