Skip to content

Commit

Permalink
fix: reference to draggable/resizable Accessor (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
arecvlohe authored and jquense committed Oct 29, 2018
1 parent 4cfcb1f commit 1889a51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/addons/dragAndDrop/EventWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ class EventWrapper extends React.Component {
className: cn(children.props.className, 'rbc-addons-dnd-drag-preview'),
})

const { draggableAccessor, resizableAccessor, draggable } = this.context
const { draggable } = this.context
const { draggableAccessor, resizableAccessor } = draggable

const isDraggable = draggableAccessor
? !!get(event, draggableAccessor)
Expand Down

0 comments on commit 1889a51

Please sign in to comment.