Skip to content

Commit 531e2a9

Browse files
authored
Merge pull request #2 from sreejithr/onslidesuccess-fix
Occurrences of onSwipeSuccess changed to onSlideSuccess
2 parents a5a4ae5 + 37e31f7 commit 531e2a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SlideButton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class SlideButton extends Component {
5454
// Move the button out
5555
this.moveButtonOut(() => {
5656
self.setState({ swiped: true });
57-
self.onSwipeSuccess();
57+
self.onSlideSuccess();
5858
});
5959

6060
// Slide it back in after 1 sec

0 commit comments

Comments
 (0)