Skip to content

Commit bdb0595

Browse files
authored
fix: revert change (jquense#2223)
Pull changes
1 parent ae1c983 commit bdb0595

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/addons/dragAndDrop/EventContainerWrapper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import PropTypes from 'prop-types'
22
import React from 'react'
33
import { DnDContext } from './DnDContext'
4+
import NoopWrapper from '../../NoopWrapper'
45

56
import Selection, {
67
getBoundsForNode,
@@ -253,7 +254,7 @@ class EventContainerWrapper extends React.Component {
253254
className="rbc-addons-dnd-drag-preview"
254255
style={{ top, height, width: 100 }}
255256
getters={getters}
256-
components={{ ...components }}
257+
components={{ ...components, eventWrapper: NoopWrapper }}
257258
accessors={{ ...accessors, ...dragAccessors }}
258259
continuesPrior={startsBeforeDay}
259260
continuesAfter={startsAfterDay}

0 commit comments

Comments
 (0)