webpack.js.org icon indicating copy to clipboard operation
webpack.js.org copied to clipboard

Fix invalid PropTypes validator for isActive in Link component

Open the-shreyash opened this issue 9 months ago • 2 comments

Description

When running the development server (yarn start), the following console warning appears:

Warning: Failed prop type: Link: prop type isActive is invalid; it must be a function, usually from the prop-types package, but received `

Image

the-shreyash avatar Feb 13 '26 09:02 the-shreyash

No need to open a PR for this, just send a fix

alexander-akait avatar Feb 13 '26 10:02 alexander-akait

Hi @alexander-akait Thanks for the clarification! I’ve submitted a fix in #7812. I’ll send small fixes directly as PRs next time 👍

the-shreyash avatar Feb 13 '26 11:02 the-shreyash