Prevent repeated description for alt+figcaption

pull/228/head
Lim Chee Aun 2023-09-19 00:45:43 +08:00
rodzic f7ffce1b46
commit fe80215325
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -328,7 +328,7 @@ function Media({ media, to, showOriginal, autoAnimate, onClick = () => {} }) {
<>
<img
src={previewUrl}
alt={description}
alt={showInlineDesc ? '' : description}
width={width}
height={height}
data-orientation={orientation}