Skip to content

Commit

Permalink
use isDocumentInNode directly in EnterLeaveCounter
Browse files Browse the repository at this point in the history
  • Loading branch information
darthtrevino committed Oct 29, 2018
1 parent dae9305 commit bf731e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dnd-html5-backend/src/EnterLeaveCounter.ts
Expand Up @@ -29,7 +29,7 @@ export default class EnterLeaveCounter {
const previousLength = this.entered.length

this.entered = without(
this.entered.filter(node => this.isNodeInDocument(node)),
this.entered.filter(this.isNodeInDocument),
leavingNode,
)

Expand Down

0 comments on commit bf731e2

Please sign in to comment.