mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-23 16:44:04 -05:00
Timeline should be a feature, not component
This commit is contained in:
parent
ff0ecca84c
commit
4d0fde3d93
@ -6,7 +6,7 @@ import {
|
||||
} from '../../actions/timelines';
|
||||
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
|
||||
import ColumnSettingsContainer from './containers/column_settings_container';
|
||||
import Timeline from '../../components/timeline';
|
||||
import Timeline from '../timeline';
|
||||
|
||||
const messages = defineMessages({
|
||||
title: { id: 'column.community', defaultMessage: 'Local timeline' },
|
||||
|
@ -5,7 +5,7 @@ import {
|
||||
expandHashtagTimeline,
|
||||
} from '../../actions/timelines';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
import Timeline from '../../components/timeline';
|
||||
import Timeline from '../timeline';
|
||||
|
||||
export default class HashtagTimeline extends React.PureComponent {
|
||||
|
||||
|
@ -4,7 +4,7 @@ import { expandHomeTimeline } from '../../actions/timelines';
|
||||
import PropTypes from 'prop-types';
|
||||
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
|
||||
import ColumnSettingsContainer from './containers/column_settings_container';
|
||||
import Timeline from '../../components/timeline';
|
||||
import Timeline from '../timeline';
|
||||
import Link from 'react-router-dom/Link';
|
||||
|
||||
const messages = defineMessages({
|
||||
|
@ -6,7 +6,7 @@ import {
|
||||
} from '../../actions/timelines';
|
||||
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
|
||||
import ColumnSettingsContainer from './containers/column_settings_container';
|
||||
import Timeline from '../../components/timeline';
|
||||
import Timeline from '../timeline';
|
||||
|
||||
const messages = defineMessages({
|
||||
title: { id: 'column.public', defaultMessage: 'Federated timeline' },
|
||||
|
@ -1,17 +1,17 @@
|
||||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
import PropTypes from 'prop-types';
|
||||
import StatusListContainer from '../features/ui/containers/status_list_container';
|
||||
import Column from './column';
|
||||
import ColumnHeader from './column_header';
|
||||
import StatusListContainer from '../ui/containers/status_list_container';
|
||||
import Column from '../../components/column';
|
||||
import ColumnHeader from '../../components/column_header';
|
||||
import {
|
||||
updateTimeline,
|
||||
deleteFromTimelines,
|
||||
connectTimeline,
|
||||
disconnectTimeline,
|
||||
} from '../actions/timelines';
|
||||
import { addColumn, removeColumn, moveColumn } from '../actions/columns';
|
||||
import createStream from '../stream';
|
||||
} from '../../actions/timelines';
|
||||
import { addColumn, removeColumn, moveColumn } from '../../actions/columns';
|
||||
import createStream from '../../stream';
|
||||
|
||||
const mapStateToProps = (state, ownprops) => ({
|
||||
streamingAPIBaseURL: state.getIn(['meta', 'streaming_api_base_url']),
|
Loading…
Reference in New Issue
Block a user