fix?: routing problem
This commit is contained in:
parent
0c646f7104
commit
dc1a937c82
@ -65,7 +65,7 @@ RemoteHint.propTypes = {
|
|||||||
url: PropTypes.string.isRequired,
|
url: PropTypes.string.isRequired,
|
||||||
};
|
};
|
||||||
|
|
||||||
class AccountTimeline extends ImmutablePureComponent {
|
class AccountDirects extends ImmutablePureComponent {
|
||||||
|
|
||||||
static contextTypes = {
|
static contextTypes = {
|
||||||
identity: PropTypes.object.isRequired
|
identity: PropTypes.object.isRequired
|
||||||
@ -183,4 +183,4 @@ class AccountTimeline extends ImmutablePureComponent {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default connect(mapStateToProps)(AccountTimeline);
|
export default connect(mapStateToProps)(AccountDirects);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
import { defineMessages, injectIntl } from 'react-intl';
|
import { defineMessages } from 'react-intl';
|
||||||
|
|
||||||
import { Helmet } from 'react-helmet';
|
import { Helmet } from 'react-helmet';
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ const mapStateToProps = state => ({
|
|||||||
hasMore: !!state.getIn(['status_lists', 'direct', 'next']),
|
hasMore: !!state.getIn(['status_lists', 'direct', 'next']),
|
||||||
});
|
});
|
||||||
|
|
||||||
class PinnedStatuses extends ImmutablePureComponent {
|
class DirectMessages extends ImmutablePureComponent {
|
||||||
|
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
dispatch: PropTypes.func.isRequired,
|
dispatch: PropTypes.func.isRequired,
|
||||||
@ -67,4 +67,4 @@ class PinnedStatuses extends ImmutablePureComponent {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default connect(mapStateToProps)(injectIntl(PinnedStatuses));
|
export default connect(mapStateToProps)(DirectMessages);
|
||||||
|
Loading…
Reference in New Issue
Block a user