Skip to content

Commit

Permalink
Fix Navigation component not rerendering on locale change
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jul 15, 2018
1 parent 93b19a5 commit 070ff7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Calendar/Navigation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default class Navigation extends Component {
shouldComponentUpdate(nextProps) {
return (
nextProps.activeStartDate !== this.props.activeStartDate ||
nextProps.locale !== this.props.locale ||
nextProps.view !== this.props.view
);
}
Expand Down

0 comments on commit 070ff7e

Please sign in to comment.