fix(name): fix name route crash
this commit fixes a crash in name route caused by upstream closes https://github.com/zyachel/libremdb/issues/51
This commit is contained in:
@ -39,10 +39,12 @@ const Basic = ({ data, className }: Props) => {
|
||||
{data.bio.short}...
|
||||
</p>
|
||||
}
|
||||
<p className={styles.genres}>
|
||||
<span className={styles.heading}>Known for: </span>
|
||||
{data.knownFor.title} ({data.knownFor.role})
|
||||
</p>
|
||||
{data.knownFor.title && (
|
||||
<p className={styles.genres}>
|
||||
<span className={styles.heading}>Known for: </span>
|
||||
{data.knownFor.title} ({data.knownFor.role})
|
||||
</p>
|
||||
)}
|
||||
</CardBasic>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user