Merge remote-tracking branch 'plastikmensch/fix-onboarding-modal-opening-page-two'
This commit is contained in:
commit
5cf7306ed5
1 changed files with 3 additions and 1 deletions
|
@ -234,7 +234,9 @@ class OnboardingModal extends PureComponent {
|
|||
}));
|
||||
};
|
||||
|
||||
handleSwipe = (index) => {
|
||||
handleSwipe = (index, lastIndex, meta) => {
|
||||
if (meta.reason !== 'swipe') return;
|
||||
|
||||
this.setState({ currentIndex: index });
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue