use claimId as react component key

This commit is contained in:
Travis Eden 2018-10-22 12:44:38 -04:00
parent 7703dc4e19
commit c7a7790c27

View file

@ -36,7 +36,7 @@ class ChannelClaimsDisplay extends React.Component {
<AssetPreview <AssetPreview
defaultThumbnail={defaultThumbnail} defaultThumbnail={defaultThumbnail}
claimData={claim} claimData={claim}
key={`${claim.name}-${claim.id}`} key={claim.claimId}
/> />
))} ))}
</div> </div>