We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0f8509 commit 53063b5Copy full SHA for 53063b5
package.json
@@ -1,5 +1,5 @@
1
{
2
- "name": "react-material-ui-boilerplate",
+ "name": "react-sample",
3
"version": "1.0.0-alpha",
4
"description": "BoilerPlate For React + Material UI + React Router + Redux",
5
"scripts": {
src/redux/module/builds.js
@@ -8,15 +8,15 @@ export const getBuildList = () => {
8
.then((json) => {
9
dispatch({
10
type: GET_BUILD_LIST,
11
- builds: json,
+ payload: json,
12
});
13
14
};
15
16
const builds = (state = [], action) => {
17
switch (action.type) {
18
case GET_BUILD_LIST:
19
- return action.builds;
+ return action.payload;
20
default:
21
return state;
22
}
0 commit comments