* Dispatch retry failed action | fix refreshing state | change postVisibility to 15 * Improve channel switching * Improve handling of visible tooltip * Improve watching for status bar height changes * Remove unnecessary mapStateToProps from code screen * Use drawer native functions to open/close instead of state * Feedback review
16 lines
423 B
JavaScript
16 lines
423 B
JavaScript
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
import {connect} from 'react-redux';
|
|
|
|
import {getStatusBarHeight} from 'app/selectors/device';
|
|
|
|
import KeyboardLayout from './keyboard_layout';
|
|
|
|
function mapStateToProps(state) {
|
|
return {
|
|
statusBarHeight: getStatusBarHeight(state)
|
|
};
|
|
}
|
|
|
|
export default connect(mapStateToProps)(KeyboardLayout);
|