render logo fallback when logo is missing

This commit is contained in:
nklhrstv 2022-05-27 18:54:38 +03:00
parent 9622c59c7c
commit 6fd703a6a4

View file

@ -116,7 +116,7 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele
renderFallback={renderLogoFallback}
/>
:
null
renderLogoFallback()
}
{
(typeof releaseInfo === 'string' && releaseInfo.length > 0) || (released instanceof Date && !isNaN(released.getTime())) || (typeof runtime === 'string' && runtime.length > 0) || linksGroups.has(CONSTANTS.IMDB_LINK_CATEGORY) ?