We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32d9b75 commit 2e09f79Copy full SHA for 2e09f79
lib/link.js
@@ -15,7 +15,7 @@ export default class Link extends Component {
15
}
16
17
static propTypes = exact({
18
- href: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
+ href: PropTypes.oneOfType([PropTypes.string, PropTypes.object]).isRequired,
19
as: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
20
prefetch: PropTypes.bool,
21
replace: PropTypes.bool,
0 commit comments