Skip to content

Commit

Permalink
fix(NavLink): console error while using @reach/Router (#1350)
Browse files Browse the repository at this point in the history
Closes #1308
  • Loading branch information
illiteratewriter authored and TheSharpieOne committed Jan 8, 2019
1 parent 45952e2 commit 477e1a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NavLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import classNames from 'classnames';
import { mapToCssModules } from './utils';

const propTypes = {
tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string, PropTypes.shape({$$typeof: PropTypes.symbol, render: PropTypes.func})]),
innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.func, PropTypes.string]),
disabled: PropTypes.bool,
active: PropTypes.bool,
Expand Down

0 comments on commit 477e1a8

Please sign in to comment.