1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

added image preloading color for swiper

This commit is contained in:
Fedor Katurov 2021-10-05 18:25:40 +07:00
parent 59ca076287
commit 71b94ce585
3 changed files with 7 additions and 2 deletions

View file

@ -97,6 +97,7 @@ const NodeImageSwiperBlock: FC<IProps> = ({ node }) => {
onLoad={updateSwiper}
onClick={() => onOpenPhotoSwipe(i)}
className={styles.image}
color={file?.metadata?.dominant_color}
/>
</SwiperSlide>
))}