Remove TODO in code
This commit is contained in:
parent
82a744afa6
commit
211a80d00c
@ -73,8 +73,10 @@ const mapStateToProps = (state) => {
|
||||
id => state.entities.getIn(["entities", "album", id])
|
||||
);
|
||||
albumsList.forEach(function (album) {
|
||||
const albumArtist = album.get("artist"); // TODO: get on undefined
|
||||
artistsList = artistsList.set(albumArtist, state.entities.getIn(["entities", "artist", albumArtist]));
|
||||
if (album) {
|
||||
const albumArtist = album.get("artist");
|
||||
artistsList = artistsList.set(albumArtist, state.entities.getIn(["entities", "artist", albumArtist]));
|
||||
}
|
||||
});
|
||||
}
|
||||
return {
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user