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:
parent
59ca076287
commit
71b94ce585
3 changed files with 7 additions and 2 deletions
|
@ -97,6 +97,7 @@ const NodeImageSwiperBlock: FC<IProps> = ({ node }) => {
|
|||
onLoad={updateSwiper}
|
||||
onClick={() => onOpenPhotoSwipe(i)}
|
||||
className={styles.image}
|
||||
color={file?.metadata?.dominant_color}
|
||||
/>
|
||||
</SwiperSlide>
|
||||
))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue