Merging into one

This commit is contained in:
James Barnsley
2018-01-25 17:04:19 +13:00
parent c9b76c9e17
commit 768508a99f
7 changed files with 84 additions and 35 deletions

View File

@ -162,6 +162,14 @@ export default function reducer(spotify = {}, action){
autocomplete_results: autocomplete_results
})
case 'SPOTIFY_GENRES_LOADED':
return Object.assign(
{},
spotify,
{
genres: action.genres
})
/**
* Library