check thumbnail value

This commit is contained in:
svetlagasheva 2019-10-16 16:58:10 +03:00
parent afab43bf45
commit f48cabbbc2

View file

@ -56,7 +56,7 @@ const Notification = ({ className, id, type, name, poster, thumbnail, season, ep
} }
</div> </div>
{ {
thumbnail !== null ? typeof thumbnail === 'string' && thumbnail.length > 0 ?
<div className={styles['poster-container']}> <div className={styles['poster-container']}>
<div className={styles['poster-image-layer']}> <div className={styles['poster-image-layer']}>
<Image <Image