cleanup: separate info and description

This commit is contained in:
Apoorv Mishra
2023-07-24 20:42:59 +05:30
parent a30487c2d7
commit b3d8bd1cc8
7 changed files with 39 additions and 31 deletions

View File

@@ -156,7 +156,7 @@ function HoverPreviewInternal({ element, onClose }: Props) {
<HoverPreviewMention
url={data.thumbnailUrl}
title={data.title}
description={data.description}
info={data.meta.info}
color={data.meta.color}
/>
) : data.type === UnfurlType.Document ? (
@@ -165,7 +165,7 @@ function HoverPreviewInternal({ element, onClose }: Props) {
url={data.url}
title={data.title}
description={data.description}
summary={data.meta.summary}
info={data.meta.info}
/>
) : null}
</CardContent>