Files
freeCodeCamp/common/app/routes/map/redux/actions.js

11 lines
300 B
JavaScript
Raw Normal View History

2016-03-21 15:39:45 -07:00
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 })
);