refactor: changed the conditional rendering value

This commit is contained in:
kKaskak 2023-11-06 16:12:43 +02:00
parent e8c8441e3b
commit ef4008ae22

View file

@ -60,7 +60,7 @@ const NextVideoPopup = ({ className, metaItem, nextVideo, onDismiss, onNextVideo
<div className={styles['info-container']}>
<div className={styles['details-container']}>
{
typeof videoName === 'string' ?
typeof metaItem?.name === 'string' ?
<div className={styles['name']}>
<span className={styles['label']}>Next on</span> { metaItem.name }
</div>