Skip to content

Commit

Permalink
Remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
lhandel committed Apr 5, 2018
1 parent c5f4c32 commit 3e602e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions CardStack.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,13 @@ export default class CardStack extends Component {
{

const swipeDirection = (gestureState.dy < 0) ? height * -1 : height;
console.log(swipeDirection, disableTopSwipe);
if(swipeDirection < 0 && !disableTopSwipe)
{

this._nextCard('top', gestureState.dx, swipeDirection, 200);
}
else if (swipeDirection > 0 && !disableBottomSwipe)
{
console.log("run");
this._nextCard('bottom', gestureState.dx, swipeDirection, 200);
}
else
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-card-stack-swiper",
"version": "1.0.7",
"version": "1.0.6",
"description": "Tinder like react-native card stack swiper",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 3e602e4

Please sign in to comment.