From 070ff7e825fd8479400662abc36468d06b28f628 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Sun, 15 Jul 2018 17:00:53 +0200 Subject: [PATCH] Fix Navigation component not rerendering on locale change --- src/Calendar/Navigation.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Calendar/Navigation.jsx b/src/Calendar/Navigation.jsx index 7b9b3a83..b350b39e 100644 --- a/src/Calendar/Navigation.jsx +++ b/src/Calendar/Navigation.jsx @@ -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 ); }