Add to queue random functional

This commit is contained in:
James Barnsley
2020-08-03 20:42:17 +12:00
parent f4c71026b7
commit 48adeeac7f
10 changed files with 237 additions and 132 deletions

View File

@ -199,12 +199,11 @@ export default function reducer(core = {}, action) {
return { ...core, genres: action.genres };
case 'VIEW_DATA_LOADED':
console.log(action);
return {
...core,
view: {
...(core.view ? core.view : {}),
[action.name]: action.data,
...action.data,
},
};