Merge remote-tracking branch 'plastikmensch/fix-onboarding-modal-opening-page-two'

This commit is contained in:
Essem 2023-11-09 18:27:45 -06:00
commit 5cf7306ed5
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C

View file

@ -234,7 +234,9 @@ class OnboardingModal extends PureComponent {
}));
};
handleSwipe = (index) => {
handleSwipe = (index, lastIndex, meta) => {
if (meta.reason !== 'swipe') return;
this.setState({ currentIndex: index });
};