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:
parent
e460b3f532
commit
12c3422c28
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user