Skip to content

Commit 49f085f

Browse files
committed
Merge branch 'feature/fix-intl' into dev
2 parents 9668797 + 0df9556 commit 49f085f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ git flow feature finish upgrade-mirror
212212
- [x] [PM2 Integration](https://github.com/gocreating/express-react-hmr-boilerplate/commit/e427d7c3a9efea971557b0a2d7a6397b43ca4760)
213213
- [x] [Rename resource as resource`s`](https://github.com/gocreating/express-react-hmr-boilerplate/commit/039baadff0bdb22e5340153a2a9fe1935f87b7d9)
214214
- [ ] Pagination Mechanism
215+
- [x] Bug Fix for Intl
216+
- reference:
217+
1. [Changing locale and FormattedMessage not updated instantly](https://github.com/yahoo/react-intl/issues/371)
218+
2. [react-redux API docs](https://github.com/reactjs/react-redux/blob/master/docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options)
215219
- [ ] Google analytics
216220
- [ ] Add License
217221
- [ ] User Roles

src/common/components/utils/BsPagination.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,6 @@ Pagination.propTypes = {
8383

8484
export default connect(state => ({
8585
pages: state.pages,
86-
}))(Pagination);
86+
}), null, null, {
87+
pure: false,
88+
})(Pagination);

0 commit comments

Comments
 (0)