Skip to content

Commit

Permalink
Refactored Value.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yuri-sakharov committed Dec 22, 2017
1 parent d923fb6 commit 9185809
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/Value.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import PropTypes from 'prop-types';
import React from 'react';

class Value extends React.Component {

Expand Down Expand Up @@ -43,12 +43,12 @@ class Value extends React.Component {
this.onRemove(event);
}

handleTouchMove (event) {
handleTouchMove () {
// Set a flag that the view is being dragged
this.dragging = true;
}

handleTouchStart (event) {
handleTouchStart () {
// Set a flag that the view is not being dragged
this.dragging = false;
}
Expand Down Expand Up @@ -91,8 +91,7 @@ class Value extends React.Component {
</div>
);
}
};

}

Value.propTypes = {
children: PropTypes.node,
Expand Down

0 comments on commit 9185809

Please sign in to comment.