Cleaning up index modification

This commit is contained in:
James Barnsley
2017-11-09 09:12:23 +13:00
parent ec41eb5271
commit 8ecd13684f
9 changed files with 209 additions and 185 deletions

View File

@ -25,9 +25,8 @@ const LastfmMiddleware = (function(){
}
);
store.dispatch({
type: "USER_LOADED",
key: user.uri,
user: user
type: "USERS_LOADED",
users: [user]
});
next(action);
break;