1
0
Fork 0

How did I even code this

This commit is contained in:
Lim Chee Aun 2023-08-05 00:16:18 +08:00
parent 6b8ae97d98
commit c13e148b36

View file

@ -1449,7 +1449,7 @@ function Card({ card, instance }) {
if (snapStates.unfurledLinks[url]) return null;
if (hasText && (image || (!type !== 'photo' && blurhash))) {
if (hasText && (image || (type === 'photo' && blurhash))) {
const domain = new URL(url).hostname.replace(/^www\./, '');
let blurhashImage;
if (!image) {