Skip to content

Commit

Permalink
[form-builder] Add back initializer argument
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard authored and rexxars committed Oct 6, 2020
1 parent 97d9d39 commit cb94448
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export default class ImageInput extends React.PureComponent<Props, ImageInputSta
}
}

uploadWith(uploader: Uploader, file: File, assetDocumentProps?: UploadOptions) {
uploadWith(uploader: Uploader, file: File, assetDocumentProps: UploadOptions = {}) {
const {type, onChange} = this.props
const {label, title, description, creditLine, source} = assetDocumentProps
const options = {
Expand Down

0 comments on commit cb94448

Please sign in to comment.