mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-16 23:31:19 +03: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}
|
||||
height={height}
|
||||
loading="eager"
|
||||
decoding="async"
|
||||
onLoad={(e) => {
|
||||
setImageLoaded(true);
|
||||
}}
|
||||
|
|
Loading…
Add table
Reference in a new issue