Skip to content

Commit

Permalink
fix: #1428 - remove code that detached dragpreviews when dragsources …
Browse files Browse the repository at this point in the history
…where disconnected (#1441)
  • Loading branch information
darthtrevino committed Jul 4, 2019
1 parent 763eca8 commit e741f3a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/core/react-dnd/src/common/SourceConnector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,6 @@ export class SourceConnector implements Connector {
if (this.dragSourceUnsubscribe) {
this.dragSourceUnsubscribe()
this.dragSourceUnsubscribe = undefined
this.dragPreviewNode = null
this.dragPreviewRef = null
}
}

Expand Down

0 comments on commit e741f3a

Please sign in to comment.