Update GridItem.js

Fixes an issue with "item" being undefined.
This commit is contained in:
Ulrich Wagner
2021-02-26 08:34:47 +01:00
committed by GitHub
parent a1c25d367a
commit e476ff64ab

View File

@ -92,7 +92,7 @@ class GridItem extends React.Component {
default:
return (
<span className="grid__item__secondary__content">
{artists && <LinksSentence nolinks items={item.artists} type="artist" /> }
{artists && <LinksSentence nolinks items={artists} type="artist" /> }
{followers && <I18n path="specs.followers" count={followers.toLocaleString()} />}
</span>
);