Consistent naming of react-redux's mapStateToProps

Until we make a decision on access modifier hints and adopt a respective
coding style, consistency is king.
This commit is contained in:
Lyubomir Marinov
2017-01-28 17:34:57 -06:00
parent 349c04d8d1
commit 2189ab7ee6
11 changed files with 28 additions and 20 deletions
@@ -124,11 +124,12 @@ class UnsupportedMobileBrowser extends Component {
* props.
*
* @param {Object} state - Redux state.
* @private
* @returns {{
* _room: string
* }}
*/
function mapStateToProps(state) {
function _mapStateToProps(state) {
return {
/**
* The name of the conference room to be joined upon clicking the
@@ -141,4 +142,4 @@ function mapStateToProps(state) {
};
}
export default connect(mapStateToProps)(UnsupportedMobileBrowser);
export default connect(_mapStateToProps)(UnsupportedMobileBrowser);