Skip to content

Commit

Permalink
fix(link-card): show image url for debug
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <tukon479@gmail.com>
  • Loading branch information
Innei committed Oct 7, 2022
1 parent 98f7c32 commit 7591634
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/universal/Markdown/renderers/link-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ export const LinkCard: FC<LinkCardProps> = (props) => {
{(loading || cardInfo?.image) && (
<div
className={styles['image']}
data-image={cardInfo?.image || ''}
style={{
backgroundImage: cardInfo?.image
? `url(${cardInfo.image})`
Expand Down

0 comments on commit 7591634

Please sign in to comment.