mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-07 19:30:14 +00:00
15 lines
402 B
JavaScript
15 lines
402 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {connect} from 'react-redux';
|
|
|
|
import LoadMorePosts from './load_more_posts';
|
|
|
|
function mapStateToProps(state, ownProps) {
|
|
return {
|
|
loading: Boolean(state.views.channel.loadingPosts[ownProps.channelId]),
|
|
};
|
|
}
|
|
|
|
export default connect(mapStateToProps)(LoadMorePosts);
|