* Updated post rendering in center channel to include dates, display names, themeing, profile pictures, and threads * Added status to ProfilePicture component * Changed MemberListRow to use a ProfilePicture * Removed unused prop * Fixed incorrect copyright year on new file * Removed unnecessary ref
18 lines
417 B
JavaScript
18 lines
417 B
JavaScript
// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
import {connect} from 'react-redux';
|
|
|
|
import {getTheme} from 'service/selectors/entities/preferences';
|
|
|
|
import PostList from './post_list';
|
|
|
|
function mapStateToProps(state, ownProps) {
|
|
return {
|
|
theme: getTheme(state),
|
|
...ownProps
|
|
};
|
|
}
|
|
|
|
export default connect(mapStateToProps)(PostList);
|
|
|