[Enhancement] Apply immutable js. (#49)

This commit is contained in:
Qolzam
2018-04-04 10:33:15 +07:00
parent b94d2a0124
commit 9cd2672395
98 changed files with 1294 additions and 1633 deletions

View File

@@ -225,7 +225,7 @@ const mapDispatchToProps = (dispatch: any, ownProps: ISettingComponentProps) =>
*/
const mapStateToProps = (state: any, ownProps: ISettingComponentProps) => {
return {
translate: getTranslate(state.locale)
translate: getTranslate(state.get('locale'))
}
}