Skip to content

Commit e55f0d3

Browse files
committed
Fix onLaneUpdate warning
1 parent 29c9f6f commit e55f0d3

2 files changed

Lines changed: 4 additions & 140 deletions

File tree

src/controllers/Lane.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ class Lane extends Component {
233233
onCardAdd,
234234
onCardDelete,
235235
onLaneDelete,
236+
onLaneUpdate,
236237
onCardMoveAcrossLanes,
237238
...otherProps
238239
} = this.props
@@ -267,18 +268,18 @@ Lane.propTypes = {
267268
draggable: PropTypes.bool,
268269
collapsibleLanes: PropTypes.bool,
269270
droppable: PropTypes.bool,
270-
onLaneScroll: PropTypes.func,
271271
onCardMoveAcrossLanes: PropTypes.func,
272272
onCardClick: PropTypes.func,
273273
onCardDelete: PropTypes.func,
274-
onLaneDelete: PropTypes.func,
275274
onCardAdd: PropTypes.func,
275+
onLaneDelete: PropTypes.func,
276+
onLaneUpdate: PropTypes.func,
276277
onLaneClick: PropTypes.func,
278+
onLaneScroll: PropTypes.func,
277279
editable: PropTypes.bool,
278280
cardDraggable: PropTypes.bool,
279281
cardDragClass: PropTypes.string,
280282
canAddLanes: PropTypes.bool,
281-
onLaneUpdate: PropTypes.func,
282283
t: PropTypes.func.isRequired
283284
}
284285

0 commit comments

Comments
 (0)