Created
August 18, 2017 12:08
-
-
Save matthieu-D/08ec1743b2c4279dc9858d624f393cae to your computer and use it in GitHub Desktop.
This file contains 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
case ColorActions.ADD_COLORS: | |
const colorAddAction = action as ColorAddAction; | |
return { | |
colorList: [...state.colorList, ...colorAddAction.payload] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment