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

@@ -2,12 +2,13 @@ import React from 'react'
import PropTypes from 'prop-types'
import PageTitle from '../features/ui/util/page_title'
import DefaultLayout from '../layouts/default_layout'
import WrappedBundle from '../features/ui/util/wrapped_bundle'
import {
LinkFooter,
ProgressPanel,
ShopPanel,
SignUpPanel,
VerifiedAccountsPanel,
UserSuggestionsPanel,
} from '../features/ui/util/async_components'
class NewsPage extends React.PureComponent {
@@ -21,10 +22,11 @@ class NewsPage extends React.PureComponent {
title={title}
noComposeButton
showBackBtn
noRightSidebar
layout={[
SignUpPanel,
ProgressPanel,
VerifiedAccountsPanel,
<WrappedBundle component={UserSuggestionsPanel} componentParams={{ suggestionType: 'verified' }} />,
ShopPanel,
LinkFooter,
]}