Skip to content

Commit

Permalink
fix(props): remove push from spreaded props
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri Kopriwa committed Mar 4, 2020
1 parent f2f57cd commit d6b8415
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Link/Link.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ export default class Link extends React.Component {
staticContext, // eslint-disable-line react/prop-types
waitChunk,
onBeforePageChange,
push,
...rest
} = this.props;
return ContextConsumer ? (
Expand Down

0 comments on commit d6b8415

Please sign in to comment.