mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Fix indentation fail
This commit is contained in:
parent
2aab5d2d0d
commit
1318bf5413
@ -79,7 +79,7 @@ let FileDragAndDrop = React.createClass({
|
||||
}
|
||||
|
||||
if(typeof this.props.onDrop === 'function' && files) {
|
||||
this.props.onDrop(files);
|
||||
this.props.onDrop(files);
|
||||
}
|
||||
|
||||
},
|
||||
|
@ -38,9 +38,8 @@ export default function UploadButton({ className = 'btn btn-default btn-sm' } =
|
||||
let files = event.target.files;
|
||||
|
||||
if(typeof this.props.onDrop === 'function' && files) {
|
||||
this.props.onDrop(files);
|
||||
this.props.onDrop(files);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
getUploadingFiles() {
|
||||
|
Loading…
Reference in New Issue
Block a user