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

fixed hero swiping

This commit is contained in:
Fedor Katurov 2022-07-14 11:40:05 +07:00
parent 12ffd39082
commit 947d2180f6

View file

@ -29,7 +29,7 @@ const autoplay = {
}; };
const lazy = { const lazy = {
loadPrevNextAmount: 5, loadPrevNextAmount: 3,
checkInView: false, checkInView: false,
}; };
@ -125,6 +125,7 @@ export const FlowSwiperHero: FC<Props> = ({ heroes }) => {
onRealIndexChange={onIndexChange} onRealIndexChange={onIndexChange}
onAfterInit={onIndexChange} onAfterInit={onIndexChange}
onClick={onClick} onClick={onClick}
followFinger
> >
{heroes {heroes
.filter(node => node.thumbnail) .filter(node => node.thumbnail)