mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 16:58:47 +01:00
Try add decoding
This commit is contained in:
parent
a39ead1864
commit
fa3229ca9d
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ function Media({ media, showOriginal, autoAnimate, onClick = () => {} }) {
|
||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
loading="eager"
|
loading="eager"
|
||||||
|
decoding="async"
|
||||||
onLoad={(e) => {
|
onLoad={(e) => {
|
||||||
setImageLoaded(true);
|
setImageLoaded(true);
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in a new issue