|
|
@ -8,17 +8,19 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
|
|
import ImmutablePureComponent from 'react-immutable-pure-component';
|
|
|
|
import ImmutablePureComponent from 'react-immutable-pure-component';
|
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { connect } from 'react-redux';
|
|
|
|
|
|
|
|
|
|
|
|
import { fetchPinnedStatuses } from 'flavours/glitch/actions/pin_statuses';
|
|
|
|
import { getStatusList } from 'flavours/glitch/selectors';
|
|
|
|
import ColumnBackButtonSlim from 'flavours/glitch/components/column_back_button_slim';
|
|
|
|
|
|
|
|
import StatusList from 'flavours/glitch/components/status_list';
|
|
|
|
import { fetchPinnedStatuses } from '../../actions/pin_statuses';
|
|
|
|
import Column from 'flavours/glitch/features/ui/components/column';
|
|
|
|
import ColumnBackButtonSlim from '../../components/column_back_button_slim';
|
|
|
|
|
|
|
|
import StatusList from '../../components/status_list';
|
|
|
|
|
|
|
|
import Column from '../ui/components/column';
|
|
|
|
|
|
|
|
|
|
|
|
const messages = defineMessages({
|
|
|
|
const messages = defineMessages({
|
|
|
|
heading: { id: 'column.pins', defaultMessage: 'Pinned post' },
|
|
|
|
heading: { id: 'column.pins', defaultMessage: 'Pinned post' },
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
const mapStateToProps = state => ({
|
|
|
|
const mapStateToProps = state => ({
|
|
|
|
statusIds: state.getIn(['status_lists', 'pins', 'items']),
|
|
|
|
statusIds: getStatusList(state, 'pins'),
|
|
|
|
hasMore: !!state.getIn(['status_lists', 'pins', 'next']),
|
|
|
|
hasMore: !!state.getIn(['status_lists', 'pins', 'next']),
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|