diff --git a/app/javascript/gabsocial/components/account.js b/app/javascript/gabsocial/components/account.js index 3d8b7c6f..7d304413 100644 --- a/app/javascript/gabsocial/components/account.js +++ b/app/javascript/gabsocial/components/account.js @@ -177,7 +177,7 @@ class Account extends ImmutablePureComponent {
-
+
({ const mapDispatchToProps = (dispatch) => ({ fetchRelatedSuggestions: () => dispatch(fetchRelatedSuggestions()), - dismissRelatedSuggestion: (account) => dispatch(dismissRelatedSuggestion(account.get('id'))), }) export default @@ -31,7 +29,6 @@ export default class WhoToFollowPanel extends ImmutablePureComponent { static propTypes = { - dismissRelatedSuggestion: PropTypes.func.isRequired, fetchRelatedSuggestions: PropTypes.func.isRequired, intl: PropTypes.object.isRequired, suggestions: ImmutablePropTypes.list.isRequired, @@ -74,7 +71,6 @@ class WhoToFollowPanel extends ImmutablePureComponent { intl, isLoading, suggestions, - dismissRelatedSuggestion, } = this.props if (suggestions.isEmpty()) return null @@ -94,11 +90,9 @@ class WhoToFollowPanel extends ImmutablePureComponent { arr.map((accountId) => ( )) }