Created
March 18, 2018 20:15
-
-
Save Colour-Full/a651437bd3cd8c17ef4b5c8780bc3f09 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { LOADING_RECIPES } from '../../actions/actions'; | |
export default function loadingRecipes(state = true, action) { | |
switch (action.type) { | |
case LOADING_RECIPES: | |
return action.payload; | |
} | |
return state; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment