From 4e47d679bcefc57d08b1bf21b37c075ce2e7b580 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Wed, 30 Aug 2023 00:45:18 +0800 Subject: [PATCH] Card object has language now. Use it. Also have other additional keys but later --- src/components/status.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/status.jsx b/src/components/status.jsx index fe230525..d47b7418 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -1434,6 +1434,7 @@ function Card({ card, instance }) { url, type, embedUrl, + language, } = card; /* type @@ -1497,6 +1498,7 @@ function Card({ card, instance }) { target={cardStatusURL ? null : '_blank'} rel="nofollow noopener noreferrer" class={`card link ${blurhashImage ? '' : size}`} + lang={language} >