Fixed description on details page not showing up

This commit is contained in:
kKaskak 2023-09-05 10:54:56 +03:00
parent 5a6a2c4027
commit 254ed677a8
2 changed files with 6 additions and 1 deletions

View file

@ -158,7 +158,7 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele
null
}
{
compact && typeof description === 'string' && description.length > 0 ?
!compact && typeof description === 'string' && description.length > 0 ?
<div className={styles['description-container']}>{description}</div>
:
null

View file

@ -0,0 +1,5 @@
{
compact && typeof description === "string" && description.length > 0 ? (
<div className={styles["description-container"]}>{description}</div>
) : null;
}