-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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: removed deprecated 'to' and replaced with 'href' (#13423) #13433
Conversation
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This commit updates the Breadcrumbs component to render the current page as a span instead of a link when the `isCurrentPage` prop is true. This change is necessary to align with the Chakra UI library's implementation, as documented in the source code. The `href` attribute will not be passed down to the child when rendering as a span.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @jackabald
Noticed that the build fails due to a problem with the Breadcrumbs implementation. I'll try to fix this as soon as possible.
We should also remove the deprecated to
prop from the link component now. I'll
a commit to fix this as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thanks @jackabald
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @jackabald!
Congrats, your important contribution to this open-source project has earned you a GitPOAP! Be sure to join the Ethereum.org discord if you are interested in contributing further to the project or have any questions for the team. GitPOAP: 2024 Ethereum.org Contributor: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |
Description
Removed all deprecated 'to' props with href props
Kept the 'to' prop for all custom components.
Related Issue
#13423