projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up FileInputComponent's setFile args
[arvados.git]
/
src
/
views
/
run-process-panel
/
inputs
/
file-input.tsx
diff --git
a/src/views/run-process-panel/inputs/file-input.tsx
b/src/views/run-process-panel/inputs/file-input.tsx
index c135042d66ea20b42675fc42ca13a902111b68fb..0611100722a2e30512a675dc770b933d34cd88b6 100644
(file)
--- a/
src/views/run-process-panel/inputs/file-input.tsx
+++ b/
src/views/run-process-panel/inputs/file-input.tsx
@@
-84,7
+84,7
@@
const FileInputComponent = connect()(
this.props.input.onChange(this.state.file);
}
this.props.input.onChange(this.state.file);
}
- setFile = (
event: React.MouseEvent<HTMLElement>, { data }: TreeItem<ProjectsTreePickerItem>, pickerId: string
) => {
+ setFile = (
_: {}, { data }: TreeItem<ProjectsTreePickerItem>
) => {
if ('type' in data && data.type === CollectionFileType.FILE) {
this.setState({ file: data });
} else {
if ('type' in data && data.type === CollectionFileType.FILE) {
this.setState({ file: data });
} else {