Commit b89860dc authored by Charles Bachmeier's avatar Charles Bachmeier Committed by GitHub

fix: change readMore val on address change (#5558)

change readMore val on address change
Co-authored-by: default avatarCharles Bachmeier <charlie@genie.xyz>
parent e640dcce
...@@ -219,7 +219,8 @@ const CollectionDescription = ({ description }: { description: string }) => { ...@@ -219,7 +219,8 @@ const CollectionDescription = ({ description }: { description: string }) => {
descriptionRef.current.getBoundingClientRect().width >= 590) descriptionRef.current.getBoundingClientRect().width >= 590)
) )
setShowReadMore(true) setShowReadMore(true)
}, [descriptionRef, baseRef, isCollectionStatsLoading]) else setShowReadMore(false)
}, [descriptionRef, baseRef, isCollectionStatsLoading, description])
return isCollectionStatsLoading ? ( return isCollectionStatsLoading ? (
<CollectionDescriptionLoading /> <CollectionDescriptionLoading />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment