Updated name of TrendsPanel to TrendsBreakingPanel

• Updated:
- name of TrendsPanel to TrendsBreakingPanel
- removed ScrollableList from TrendsPanel
This commit is contained in:
mgabdev
2020-11-06 23:19:04 -06:00
parent c1cc0e6355
commit 34f1f778cd
12 changed files with 122 additions and 138 deletions

View File

@@ -15,7 +15,7 @@ import {
GroupsPanel,
SignUpLogInPanel,
UserSuggestionsPanel,
TrendsPanel,
TrendsBreakingPanel,
} from '../features/ui/util/async_components'
class ExploreLayout extends ImmutablePureComponent {
@@ -69,7 +69,7 @@ class ExploreLayout extends ImmutablePureComponent {
if (!!me) {
layout.push(<WrappedBundle component={UserSuggestionsPanel} componentParams={{ suggestionType: 'verified' }} />)
}
layout.push(<WrappedBundle component={TrendsPanel} componentParams={{ isLazy: true, shouldLoad: lazyLoaded }} />)
layout.push(<WrappedBundle component={TrendsBreakingPanel} componentParams={{ isLazy: true, shouldLoad: lazyLoaded }} />)
return (
<Layout

View File

@@ -19,7 +19,7 @@ import Search from '../components/search'
import Pills from '../components/pills'
import {
LinkFooter,
TrendsPanel,
TrendsBreakingPanel,
SearchFilterPanel,
SignUpPanel,
ExploreTimeline,
@@ -179,7 +179,7 @@ class SearchLayout extends React.PureComponent {
layout={[
SignUpPanel,
SearchFilterPanel,
TrendsPanel,
TrendsBreakingPanel,
LinkFooter,
]}
>