Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon committed Jun 5, 2024
1 parent 28692b7 commit a06d184
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/@uppy/react/src/DragDrop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ class DragDrop<M extends Meta, B extends Body> 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,
Expand Down

0 comments on commit a06d184

Please sign in to comment.