diff --git a/packages/@uppy/react/src/DragDrop.ts b/packages/@uppy/react/src/DragDrop.ts index 00b95472c1..a7a6171c69 100644 --- a/packages/@uppy/react/src/DragDrop.ts +++ b/packages/@uppy/react/src/DragDrop.ts @@ -43,10 +43,9 @@ class DragDrop extends Component< } installPlugin(): void { - const { uppy, locale, inputName, width, height, note, ...rest } = this.props + const { uppy, locale, inputName, width, height, note, id } = this.props const options = { - id: 'DragDrop', - ...rest, + id: id || 'DragDrop', locale, inputName, width,