* Babel TS and Eslint config * Channel is archived component * Move Typing component * Move Uploads component * Add PostInput component * QuickActions components * Add PostDraft component * Remove old PostTextbox component * Rename post_textbox constant * Fix Autocomplete * Rename blur post draft event * Fix references * Feedback review * Fix autocomplete for iOS
21 lines
580 B
JavaScript
21 lines
580 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {connect} from 'react-redux';
|
|
|
|
import {selectPenultimateChannel} from '@actions/views/channel';
|
|
import {getCurrentTeamId} from '@mm-redux/selectors/entities/teams';
|
|
|
|
import Archived from './archived';
|
|
|
|
function mapStateToProps(state) {
|
|
return {
|
|
teamId: getCurrentTeamId(state),
|
|
};
|
|
}
|
|
|
|
const mapDispatchToProps = {
|
|
selectPenultimateChannel,
|
|
};
|
|
|
|
export default connect(mapStateToProps, mapDispatchToProps, null, {forwardRef: true})(Archived);
|