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(v2): Fix type for navlink label #5176

Merged
merged 1 commit into from Jul 15, 2021
Merged

Conversation

Josh-Cena
Copy link
Collaborator

Motivation

In #5072 I accidentally deleted the type import for ReactNode, causing the type of NavLinkProps.label to become any. This slipped past the review as well.

Have you read the [Contributing Guidelines on pull requests]?

Yes

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jul 15, 2021
@netlify
Copy link

netlify bot commented Jul 15, 2021

✔️ [V2]
Built without sensitive environment variables

🔨 Explore the source changes: 2b41409

🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/60f019223ca8940008cc6f6f

😎 Browse the preview: https://deploy-preview-5176--docusaurus-2.netlify.app

@github-actions
Copy link

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟢 Performance 97
🟢 Accessibility 98
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 95

Lighthouse ran on https://deploy-preview-5176--docusaurus-2.netlify.app/

@slorber
Copy link
Collaborator

slorber commented Jul 15, 2021

👍 thanks

that's annoying that I can't find a way to find those errors automatically

@slorber slorber merged commit 633c2f6 into facebook:master Jul 15, 2021
@slorber slorber changed the title fix: fix type for navlink label fix(v2): Fix type for navlink label Jul 15, 2021
@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Jul 15, 2021
@Josh-Cena Josh-Cena deleted the type-fix branch July 15, 2021 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants