From d2a1deebc1224e0771829013e34740094c70ee79 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Fri, 7 Aug 2020 17:43:15 -0500 Subject: [PATCH] Removed unused code in GroupSortBlock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Removed: - unused code in GroupSortBlock --- app/javascript/gabsocial/components/group_sort_block.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/javascript/gabsocial/components/group_sort_block.js b/app/javascript/gabsocial/components/group_sort_block.js index 7ee8c3de..74663459 100644 --- a/app/javascript/gabsocial/components/group_sort_block.js +++ b/app/javascript/gabsocial/components/group_sort_block.js @@ -55,7 +55,6 @@ class GroupSortBlock extends PureComponent { static propTypes = { intl: PropTypes.object.isRequired, - groupId: PropTypes.string, collectionType: PropTypes.string, sortByValue: PropTypes.string.isRequired, sortByTopValue: PropTypes.string, @@ -65,14 +64,12 @@ class GroupSortBlock extends PureComponent { handleOnClickValue = (btn) => { this.props.onOpenSortingOptions(btn, { - groupId: this.props.groupId, collectionType: this.props.collectionType, }) } handleOnClickSubValue = (btn) => { this.props.onOpenSortingTopOptions(btn, { - groupId: this.props.groupId, collectionType: this.props.collectionType, }) }