Move fetchChallenges up a level

This commit is contained in:
Berkeley Martinez
2016-05-06 16:04:23 -07:00
parent 861f89683b
commit 59dcabb588
10 changed files with 46 additions and 44 deletions

View File

@@ -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