Removed unused code in groups action
• Removed: - unused code in groups action
This commit is contained in:
parent
a4c6b5639d
commit
8f29443f81
@ -9,7 +9,6 @@ import { fetchRelationships } from './accounts';
|
||||
import {
|
||||
GROUP_LIST_SORTING_TYPE_ALPHABETICAL,
|
||||
GROUP_LIST_SORTING_TYPE_MOST_POPULAR,
|
||||
GROUP_TIMELINE_SORTING_TYPE_TOP,
|
||||
} from '../constants'
|
||||
|
||||
export const GROUP_FETCH_REQUEST = 'GROUP_FETCH_REQUEST';
|
||||
@ -620,14 +619,14 @@ export function groupsSort(tab, groupIds) {
|
||||
}
|
||||
}
|
||||
|
||||
export const setGroupTimelineSort = (sortValue, options) => (dispatch, getState) => {
|
||||
export const setGroupTimelineSort = (sortValue) => (dispatch) => {
|
||||
dispatch({
|
||||
type: GROUP_TIMELINE_SORT,
|
||||
sortValue,
|
||||
})
|
||||
}
|
||||
|
||||
export const setGroupTimelineTopSort = (sortValue, options) => (dispatch, getState) => {
|
||||
export const setGroupTimelineTopSort = (sortValue) => (dispatch) => {
|
||||
dispatch({
|
||||
type: GROUP_TIMELINE_TOP_SORT,
|
||||
sortValue,
|
||||
|
Loading…
x
Reference in New Issue
Block a user