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

fix: removed deprecated 'to' and replaced with 'href' (#13423) #13433

Merged
merged 4 commits into from
Jul 23, 2024

Conversation

jackabald
Copy link
Contributor

Description

Removed all deprecated 'to' props with href props
Kept the 'to' prop for all custom components.

Related Issue

#13423

Copy link

netlify bot commented Jul 19, 2024

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 9da9d53
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/669eae383dfcc00008cf86d0
😎 Deploy Preview https://deploy-preview-13433--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 47 (🔴 down 4 from production)
Accessibility: 92 (no change from production)
Best Practices: 89 (🔴 down 9 from production)
SEO: 93 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot added content 🖋️ This involves copy additions or edits documentation 📖 Change or add documentation translation 🌍 This is related to our Translation Program labels Jul 19, 2024
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.
Copy link
Member

@pettinarip pettinarip left a 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.

Copy link
Member

@pettinarip pettinarip left a comment

Choose a reason for hiding this comment

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

LGTM! thanks @jackabald

Copy link
Member

@corwintines corwintines left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @jackabald!

@corwintines corwintines merged commit 3eaf4f2 into ethereum:dev Jul 23, 2024
6 of 7 checks passed
Copy link

gitpoap-bot bot commented Jul 23, 2024

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:

GitPOAP: 2024 Ethereum.org Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

This was referenced Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content 🖋️ This involves copy additions or edits documentation 📖 Change or add documentation translation 🌍 This is related to our Translation Program
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants