From 65c8606bc0c9400eba1665a5baa892eee77663b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s?= Date: Fri, 26 Apr 2019 19:46:21 +0200 Subject: [PATCH] Remove not used state --- packages/components/src/drop-zone/provider.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/components/src/drop-zone/provider.js b/packages/components/src/drop-zone/provider.js index 43fc3d76c562c6..a0df1364b8ac7b 100644 --- a/packages/components/src/drop-zone/provider.js +++ b/packages/components/src/drop-zone/provider.js @@ -69,9 +69,7 @@ class DropZoneProvider extends Component { this.state = { hoveredDropZone: -1, isDraggingOverDocument: false, - isDraggingOverElement: false, position: null, - type: null, }; } @@ -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( {