Skip to content

Commit

Permalink
Remove not used state (#15224)
Browse files Browse the repository at this point in the history
  • Loading branch information
nosolosw authored Apr 30, 2019
1 parent d715e93 commit 1d959ba
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/components/src/drop-zone/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ class DropZoneProvider extends Component {
this.state = {
hoveredDropZone: -1,
isDraggingOverDocument: false,
isDraggingOverElement: false,
position: null,
type: null,
};
}

Expand Down Expand Up @@ -105,9 +103,7 @@ class DropZoneProvider extends Component {
this.setState( {
hoveredDropZone: -1,
isDraggingOverDocument: false,
isDraggingOverElement: false,
position: null,
type: null,
} );

this.dropZones.forEach( ( dropZone ) => dropZone.setState( {
Expand Down

0 comments on commit 1d959ba

Please sign in to comment.