diff --git a/lib/link.js b/lib/link.js index c7da8fa6..6af31e54 100644 --- a/lib/link.js +++ b/lib/link.js @@ -15,7 +15,7 @@ export default class Link extends Component { } static propTypes = exact({ - href: PropTypes.oneOfType([PropTypes.string, PropTypes.object]), + href: PropTypes.oneOfType([PropTypes.string, PropTypes.object]).isRequired, as: PropTypes.oneOfType([PropTypes.string, PropTypes.object]), prefetch: PropTypes.bool, replace: PropTypes.bool,