mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Using optional chaining on the description to solve search bug (#903)
This commit is contained in:
parent
72a447b3c5
commit
32688892bc
@ -50,7 +50,7 @@ const AssetTeaser: React.FC<AssetTeaserProps> = ({
|
||||
<div className={styles.content}>
|
||||
<Dotdotdot tagName="p" clamp={3}>
|
||||
{removeMarkdown(
|
||||
attributes?.additionalInformation?.description.substring(
|
||||
attributes?.additionalInformation?.description?.substring(
|
||||
0,
|
||||
300
|
||||
) || ''
|
||||
|
Loading…
Reference in New Issue
Block a user