Updated Placeholder Responsiveness and Added new Placeholders
• Updated: - Placeholder Responsiveness • Added: - new Placeholders
This commit is contained in:
@@ -38,7 +38,7 @@ class ProfileInfoPanel extends ImmutablePureComponent {
|
||||
|
||||
const Wrapper = noPanel ? Dummy : PanelLayout
|
||||
|
||||
if (!account) {
|
||||
if (!account && !noPanel) {
|
||||
return (
|
||||
<Wrapper title={intl.formatMessage(messages.title)}>
|
||||
<ProfileInfoPanelPlaceholder />
|
||||
|
||||
@@ -38,7 +38,7 @@ class ProfileStatsPanel extends ImmutablePureComponent {
|
||||
return (
|
||||
<Wrapper>
|
||||
{
|
||||
!account &&
|
||||
!account && !noPanel &&
|
||||
<ProfileStatsPanelPlaceholder />
|
||||
}
|
||||
{
|
||||
|
||||
@@ -97,6 +97,7 @@ class WhoToFollowPanel extends ImmutablePureComponent {
|
||||
showDismiss
|
||||
key={accountId}
|
||||
id={accountId}
|
||||
isSmall={isLoading ? true : undefined}
|
||||
dismissAction={dismissRelatedSuggestion}
|
||||
/>
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user