Removed unused code in GroupSortBlock

• Removed:
- unused code in GroupSortBlock
This commit is contained in:
mgabdev 2020-08-07 17:43:15 -05:00
parent 038e75ffeb
commit d2a1deebc1

View File

@ -55,7 +55,6 @@ class GroupSortBlock extends PureComponent {
static propTypes = { static propTypes = {
intl: PropTypes.object.isRequired, intl: PropTypes.object.isRequired,
groupId: PropTypes.string,
collectionType: PropTypes.string, collectionType: PropTypes.string,
sortByValue: PropTypes.string.isRequired, sortByValue: PropTypes.string.isRequired,
sortByTopValue: PropTypes.string, sortByTopValue: PropTypes.string,
@ -65,14 +64,12 @@ class GroupSortBlock extends PureComponent {
handleOnClickValue = (btn) => { handleOnClickValue = (btn) => {
this.props.onOpenSortingOptions(btn, { this.props.onOpenSortingOptions(btn, {
groupId: this.props.groupId,
collectionType: this.props.collectionType, collectionType: this.props.collectionType,
}) })
} }
handleOnClickSubValue = (btn) => { handleOnClickSubValue = (btn) => {
this.props.onOpenSortingTopOptions(btn, { this.props.onOpenSortingTopOptions(btn, {
groupId: this.props.groupId,
collectionType: this.props.collectionType, collectionType: this.props.collectionType,
}) })
} }