diff options
Diffstat (limited to 'webapp/components/search_results_item.jsx')
-rw-r--r-- | webapp/components/search_results_item.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webapp/components/search_results_item.jsx b/webapp/components/search_results_item.jsx index a03bb22ad..698d68bba 100644 --- a/webapp/components/search_results_item.jsx +++ b/webapp/components/search_results_item.jsx @@ -106,10 +106,9 @@ export default class SearchResultsItem extends React.Component { ); let compactClass = ''; - let profilePicContainer = (<div className='post__img'>{profilePic}</div>); + const profilePicContainer = (<div className='post__img'>{profilePic}</div>); if (this.props.compactDisplay) { compactClass = 'post--compact'; - profilePicContainer = ''; } let flag; |