1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix lint harder :/

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

View File

@ -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) {

View File

@ -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);
} }