Removed News from SearchLayout tabs
• Removed: - News from SearchLayout tabs
This commit is contained in:
parent
f175b640f0
commit
3b7fc9f30f
@ -25,7 +25,6 @@ import {
|
||||
ExploreTimeline,
|
||||
HashtagTimeline,
|
||||
SidebarXS,
|
||||
News,
|
||||
} from '../features/ui/util/async_components'
|
||||
|
||||
class SearchLayout extends React.PureComponent {
|
||||
@ -44,26 +43,21 @@ class SearchLayout extends React.PureComponent {
|
||||
onClick: () => this.setState({ currentExploreTabIndex: 0 }),
|
||||
component: ExploreTimeline,
|
||||
},
|
||||
{
|
||||
title: 'News',
|
||||
onClick: () => this.setState({ currentExploreTabIndex: 1 }),
|
||||
component: News,
|
||||
},
|
||||
{
|
||||
title: '#Election2020',
|
||||
onClick: () => this.setState({ currentExploreTabIndex: 2 }),
|
||||
onClick: () => this.setState({ currentExploreTabIndex: 1 }),
|
||||
component: HashtagTimeline,
|
||||
componentParams: { params: { id: 'election2020' } },
|
||||
},
|
||||
{
|
||||
title: '#RiggedElection',
|
||||
onClick: () => this.setState({ currentExploreTabIndex: 3 }),
|
||||
onClick: () => this.setState({ currentExploreTabIndex: 2 }),
|
||||
component: HashtagTimeline,
|
||||
componentParams: { params: { id: 'riggedelection' } },
|
||||
},
|
||||
{
|
||||
title: '#StopTheSteal',
|
||||
onClick: () => this.setState({ currentExploreTabIndex: 4 }),
|
||||
onClick: () => this.setState({ currentExploreTabIndex: 3 }),
|
||||
component: HashtagTimeline,
|
||||
componentParams: { params: { id: 'stopthesteal' } },
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user