Move fetchChallenges up a level
This commit is contained in:
@@ -1,14 +1,6 @@
|
||||
import { createAction } from 'redux-actions';
|
||||
|
||||
import types from './types';
|
||||
|
||||
export const fetchChallenges = createAction(types.fetchChallenges);
|
||||
export const fetchChallengesCompleted = createAction(
|
||||
types.fetchChallengesCompleted,
|
||||
(_, superBlocks) => superBlocks,
|
||||
entities => ({ entities })
|
||||
);
|
||||
|
||||
export const updateFilter = createAction(
|
||||
types.updateFilter,
|
||||
e => e.target.value
|
||||
|
Reference in New Issue
Block a user