mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce semicolons in eslint
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
1 parent
0f3f5611ba
commit
1477bb8274
531 files changed
+3979
-3975
No files matched your search
@@ -14,7 +14,7 @@ export interface AddRemoveButtonsProps extends React.HTMLAttributes<any> {
|
||||
|
||||
export class AddRemoveButtons extends React.PureComponent<AddRemoveButtonsProps> {
|
||||
renderButtons() {
|
||||
const { onRemove, onAdd, addTooltip, removeTooltip } = this.props
|
||||
const { onRemove, onAdd, addTooltip, removeTooltip } = this.props;
|
||||
const buttons = [
|
||||
{
|
||||
onClick: onRemove,
|
||||
@@ -33,13 +33,13 @@ export class AddRemoveButtons extends React.PureComponent<AddRemoveButtonsProps>
|
||||
if (!button.onClick) {
|
||||
return null;
|
||||
}
|
||||
const { onClick, className, icon, tooltip } = button
|
||||
const { onClick, className, icon, tooltip } = button;
|
||||
return (
|
||||
<Button key={icon} big round primary onClick={onClick} className={className} tooltip={tooltip}>
|
||||
<Icon material={icon}/>
|
||||
</Button>
|
||||
)
|
||||
})
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
render() {
|
||||
@@ -47,6 +47,6 @@ export class AddRemoveButtons extends React.PureComponent<AddRemoveButtonsProps>
|
||||
<div className={cssNames("AddRemoveButtons flex gaps", this.props.className)}>
|
||||
{this.renderButtons()}
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
export * from "./add-remove-buttons"
|
||||
export * from "./add-remove-buttons";
|
||||
Reference in new issue
Block a user