Added list functionality to home page, updated column header buttons for list

This commit is contained in:
mgabdev
2019-07-19 00:03:57 -04:00
parent 3ec39ee7c9
commit 94566e0ab4
5 changed files with 107 additions and 16 deletions

View File

@@ -53,6 +53,8 @@ import {
Explore,
Groups,
GroupTimeline,
ListTimeline,
Lists,
} from './util/async-components';
import { me, meUsername } from '../../initial_state';
import { previewState as previewMediaState } from './components/media_modal';
@@ -177,8 +179,8 @@ class SwitchingColumnsArea extends React.PureComponent {
<WrappedRoute path='/tags/:id' component={HashtagTimeline} content={children} />
<Redirect from='/lists' to='/home' />
<Redirect from='/list' to='/home' />
<WrappedRoute path='/lists' layout={LAYOUT.DEFAULT} component={Lists} content={children} />
<WrappedRoute path='/list/:id' page={HomePage} component={ListTimeline} content={children} />
<WrappedRoute path='/notifications' layout={LAYOUT.DEFAULT} component={Notifications} content={children} />