Updated WhoToFollowPanel to be UserSuggestionsPanel and included related, verified

• Updated:
- WhoToFollowPanel to be UserSuggestionsPanel and included related, verified
- All pages, layouts to use new component

• Removed:
- VerifiedAccountsPanel
This commit is contained in:
mgabdev
2020-09-01 11:54:01 -05:00
parent 6fe9b69d95
commit 38a4f1ed7f
15 changed files with 61 additions and 128 deletions

View File

@@ -3,9 +3,10 @@ import PropTypes from 'prop-types'
import { defineMessages, injectIntl } from 'react-intl'
import PageTitle from '../features/ui/util/page_title'
import DefaultLayout from '../layouts/default_layout'
import WrappedBundle from '../features/ui/util/wrapped_bundle'
import {
LinkFooter,
VerifiedAccountsPanel,
UserSuggestionsPanel,
ProgressPanel,
} from '../features/ui/util/async_components'
@@ -22,7 +23,7 @@ class ProPage extends React.PureComponent {
page='pro'
layout={[
ProgressPanel,
VerifiedAccountsPanel,
<WrappedBundle component={UserSuggestionsPanel} componentParams={{ suggestionType: 'verified' }} />,
LinkFooter,
]}
>