[Enhancement] Apply immutable js. (#49)
This commit is contained in:
@@ -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'))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user