hide pending images on channel page

This commit is contained in:
Travis Eden 2018-11-14 19:51:51 -08:00 committed by Shawn
parent cdbd5eee80
commit d05cf1e71e

View file

@ -17,6 +17,9 @@ const AssetPreview = ({ defaultThumbnail, claimData }) => {
case 'image/jpg': case 'image/jpg':
case 'image/png': case 'image/png':
case 'image/gif': case 'image/gif':
if (pending) {
return null;
}
return ( return (
<Link to={showUrl} className='asset-preview'> <Link to={showUrl} className='asset-preview'>
<div> <div>