Skip to content

Commit

Permalink
fix: Merge branch 'thorjarhun-patch-3'
Browse files Browse the repository at this point in the history
  • Loading branch information
rcdexta committed Feb 23, 2018
2 parents e5fb745 + 123f28c commit 87f93a3
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/components/Lane.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,6 @@ class Lane extends Component {
}
}

moveCard = (dragIndex, hoverIndex) => {
const {cards} = this.state
const dragCard = cards[dragIndex]

this.setState(
update(this.state, {
cards: {
$splice: [[dragIndex, 1], [hoverIndex, 0, dragCard]]
}
})
)
}

componentWillReceiveProps(nextProps) {
if (!isEqual(this.props.cards, nextProps.cards)) {
this.setState({
Expand Down Expand Up @@ -147,7 +134,6 @@ class Lane extends Component {
customCard={this.props.children}
tagStyle={tagStyle}
cardStyle={cardStyle}
moveCard={this.moveCard}
removeCard={this.removeCard}
onClick={e => this.handleCardClick(e, card)}
onDelete={this.props.onCardDelete}
Expand Down

0 comments on commit 87f93a3

Please sign in to comment.