fix lint harder :/

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2020-11-24 15:46:49 +02:00
1 parent e460b3f532
commit 12c3422c28
2 files changed
+6 -6

No files matched your search

@@ -83,7 +83,7 @@ export class Extensions extends React.Component {
this.requestInstall( this.requestInstall(
filePaths.map(filePath => ({ filePaths.map(filePath => ({
fileName: path.basename(filePath), fileName: path.basename(filePath),
filePath: filePath, filePath,
})) }))
); );
} }
@@ -172,7 +172,7 @@ export class Extensions extends React.Component {
const manifest = await this.validatePackage(tempFile); const manifest = await this.validatePackage(tempFile);
validatedRequests.push({ validatedRequests.push({
...req, ...req,
manifest: manifest, manifest,
tmpFile: tempFile, tmpFile: tempFile,
}); });
} catch (err) { } catch (err) {
@@ -61,10 +61,10 @@ export class DropFileInput<T extends HTMLElement = any> extends React.Component<
className: cssNames("DropFileInput", className, { className: cssNames("DropFileInput", className, {
droppable: this.dropAreaActive, droppable: this.dropAreaActive,
}), }),
onDragEnter: onDragEnter, onDragEnter,
onDragLeave: onDragLeave, onDragLeave,
onDragOver: onDragOver, onDragOver,
onDrop: onDrop, onDrop,
}; };
return React.cloneElement(contentElem, contentElemProps); return React.cloneElement(contentElem, contentElemProps);
} }