Fixed: Artist Statistics throwing errors when null

This commit is contained in:
Qstick
2018-08-18 15:00:50 -04:00
parent 93a0f18f82
commit 15672298c6
6 changed files with 28 additions and 12 deletions
@@ -416,8 +416,12 @@ ArtistIndexRow.propTypes = {
};
ArtistIndexRow.defaultProps = {
trackCount: 0,
trackFileCount: 0
statistics: {
albumCount: 0,
trackCount: 0,
trackFileCount: 0,
totalTrackCount: 0
}
};
export default ArtistIndexRow;