-
-
Notifications
You must be signed in to change notification settings - Fork 50.8k
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: Invalid value for prop navigate
on Link
#26623
Conversation
079f51c
to
262fd73
Compare
Size Change: +25 B (0%) Total Size: 800 kB
ℹ️ View Unchanged
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 262fd73:
|
Codecov Report
@@ Coverage Diff @@
## master #26623 +/- ##
=======================================
Coverage 99.82% 99.82%
=======================================
Files 383 383
Lines 7348 7349 +1
Branches 2008 2008
=======================================
+ Hits 7335 7336 +1
Misses 13 13
Continue to review full report at Codecov.
|
React router passes `navigate` as prop to component in <Link to={to} component={Component}>. This is already fixed for Typography.Link. (ant-design#26623) This fixes `<Link to={to} component={Button}` />
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
close #26622
💡 Background and solution
📝 Changelog
Invalid value for prop navigate
when using with react-router.Invalid value for prop navigate
的问题。☑️ Self Check before Merge