ScrollableList, PlaceholderDisplayName: fix runtime warnings

This commit is contained in:
Alex Gleason 2021-10-12 16:21:04 -05:00
parent f808ac6786
commit b343a403e8
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ export default class ScrollableList extends PureComponent {
children: PropTypes.node,
onScrollToTop: PropTypes.func,
onScroll: PropTypes.func,
placeholderComponent: PropTypes.node,
placeholderComponent: PropTypes.func,
placeholderCount: PropTypes.number,
};

View File

@ -21,7 +21,7 @@ export default class DisplayName extends React.Component {
<bdi><strong className='display-name__html'>{generateText(length)}</strong></bdi>
</span>
</span>
<span class='display-name__account'>{generateText(acctLength)}</span>
<span className='display-name__account'>{generateText(acctLength)}</span>
</span>
);
}